You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
697 B
C#

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