基础服务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.
 
 

57 lines
1.5 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_organize")]
  15. public class BPA_Organize: IBaseEntity, IGroupId
  16. {
  17. /// <summary>
  18. /// 机构名称
  19. /// </summary>
  20. public string Name { get; set; }
  21. /// <summary>
  22. /// 上级id
  23. /// </summary>
  24. public string PID { get; set; }
  25. /// <summary>
  26. /// 类型 默认 机构
  27. /// </summary>
  28. public int Type { get; set; }
  29. /// <summary>
  30. /// 上级ID集合
  31. /// </summary>
  32. public string Pids { get; set; }
  33. /// <summary>
  34. /// 备注
  35. /// </summary>
  36. public string Remark { get; set; }
  37. /// <summary>
  38. /// 电话
  39. /// </summary>
  40. public string Tel { get; set; }
  41. /// <summary>
  42. /// AutoKey 唯一值
  43. /// </summary>
  44. public string AutoKey { get; set; }
  45. /// <summary>
  46. /// 状态 【正常 停用】默认 正常
  47. /// </summary>
  48. public CommonStatus Status { get; set; } = CommonStatus.ENABLE;
  49. /// <summary>
  50. /// 加盟商id
  51. /// </summary>
  52. public string GroupId { get; set; }
  53. public int Sort { get; set; }
  54. }
  55. }