SysRoleGroup.cs 889 B

12345678910111213141516171819202122232425262728293031323334
  1. using Microsoft.EntityFrameworkCore;
  2. using System.ComponentModel.DataAnnotations;
  3. namespace YBEE.EQM.Core
  4. {
  5. /// <summary>
  6. /// 角色组
  7. /// </summary>
  8. [Comment("角色组")]
  9. public class SysRoleGroup : DEntityBase
  10. {
  11. /// <summary>
  12. /// 角色组名称
  13. /// </summary>
  14. [Comment("名称")]
  15. [Required, StringLength(200)]
  16. public string Name { get; set; }
  17. /// <summary>
  18. /// 备注
  19. /// </summary>
  20. [Comment("备注")]
  21. [StringLength(200)]
  22. public string Remark { get; set; }
  23. /// <summary>
  24. /// 一对一引用(创建人)
  25. /// </summary>
  26. public virtual SysUser CreateSysUser { get; set; }
  27. /// <summary>
  28. /// 一对一引用(修建人)
  29. /// </summary>
  30. public virtual SysUser UpdateSysUser { get; set; }
  31. }
  32. }