using System;
using SqlSugar;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Admin.Core.Model.Sys
{
///
///用户和角色关联表实体类
///
[Table("SysUserRole")]
[SugarTable("SysUserRole", "admin_sqlite")]
public class SysUserRole
{
///
/// ID
///
[Key]
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
[Required]
public int ID { get; set; }
///
/// 用户ID
///
public int? UserID { get; set; }
///
/// 角色ID
///
public int? RoleID { get; set; }
}
}