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

49 lines
1.3 KiB

  1. using BPA.SAAS.Manage.Comm.Enum;
  2. using BPA.SAAS.Manage.Core.Base;
  3. using SqlSugar;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace BPA.SAAS.Manage.Core.Org
  10. {
  11. /// <summary>
  12. /// 角色
  13. /// </summary>
  14. [SugarTable("bpa_roles")]
  15. public class BPA_Roles:IBaseEntity, IGroupId
  16. {
  17. /// <summary>
  18. /// 角色名称
  19. /// </summary>
  20. public string Name { get; set; }
  21. /// <summary>
  22. /// 编码
  23. /// </summary>
  24. public string Code { get; set; }
  25. /// <summary>
  26. /// 排序
  27. /// </summary>
  28. public int Sort { get; set; }
  29. /// <summary>
  30. /// 备注
  31. /// </summary>
  32. public string Remark { get; set; }
  33. /// <summary>
  34. /// 角色类型-集团角色_0、加盟商角色_1、门店角色_2
  35. /// </summary>
  36. public int RoleType { get; set; }
  37. /// <summary>
  38. /// 加盟商id
  39. /// </summary>
  40. public string GroupId { get; set; }
  41. /// <summary>
  42. /// 状态 【正常 停用】默认 正常
  43. /// </summary>
  44. [SugarColumn(ColumnDataType = "int", ColumnDescription = "状态", IsNullable = false)]
  45. public CommonStatus Status { get; set; } = CommonStatus.ENABLE;
  46. }
  47. }