SysPermission.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. namespace Model
  2. {
  3. /// <summary>
  4. /// 角色表 sys_role
  5. /// </summary>
  6. [Tenant("0")]
  7. public class SysPermission : SysBase
  8. {
  9. /// <summary>
  10. /// ID
  11. /// </summary>
  12. [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
  13. public int Id { get; set; }
  14. /// <summary>
  15. /// 排序
  16. /// </summary>
  17. [SugarColumn(ColumnDescription = "排序", DefaultValue = "0")]
  18. public int Sort { get; set; }
  19. /// <summary>
  20. /// 状态
  21. /// </summary>
  22. [SugarColumn(ColumnDescription = "状态", DefaultValue = "0")]
  23. public int Status { get; set; }
  24. /// <summary>
  25. /// 版本号
  26. /// </summary>
  27. [SugarColumn(ColumnDescription = "版本号", DefaultValue = "0")]
  28. public int Version { get; set; }
  29. /// <summary>
  30. /// 发布时间
  31. /// </summary>
  32. [SugarColumn(ColumnDescription = "发布时间")]
  33. public DateTime? CreateDate { get; set; }
  34. /// <summary>
  35. /// 更新时间
  36. /// </summary>
  37. [SugarColumn(IsOnlyIgnoreInsert = true, ColumnDescription = "更新时间")]
  38. public DateTime? UpdateDate { get; set; }
  39. }
  40. }