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