InviteCode.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. using SnapshotWinFormsApp.Entities.NewHotline;
  2. using SqlSugar;
  3. using System.ComponentModel;
  4. namespace Hotline.Snapshot;
  5. /// <summary>
  6. /// 邀请码
  7. /// </summary>
  8. [SugarTable("invite_code")]
  9. [Description("邀请码")]
  10. public class InviteCode : CreationSoftDeleteEntity
  11. {
  12. /// <summary>
  13. /// 邀请码开始
  14. /// 邀请码开始 -> 结束 范围内的邀请码都有效
  15. /// </summary>
  16. [SugarColumn(ColumnDescription = "邀请码开始")]
  17. public int BeginCode { get; set; }
  18. /// <summary>
  19. /// 邀请码结束
  20. /// 邀请码开始 -> 结束 范围内的邀请码都有效
  21. /// </summary>
  22. [SugarColumn(ColumnDescription = "邀请码结束")]
  23. public int EndCode { get; set; }
  24. /// <summary>
  25. /// 部门名称
  26. /// </summary>
  27. [SugarColumn(ColumnDescription = "部门名称")]
  28. public string OrgName { get; set; }
  29. /// <summary>
  30. /// 上级部门ID
  31. /// </summary>
  32. [SugarColumn(ColumnDescription = "上级部门ID")]
  33. public string? ParentOrgId { get; set; }
  34. /// <summary>
  35. /// 邀请码Url
  36. /// </summary>
  37. [SugarColumn(ColumnDescription = "邀请码Url")]
  38. public string? QRCodeUrl { get; set; }
  39. /// <summary>
  40. /// 上传附件Id
  41. /// </summary>
  42. [SugarColumn(ColumnDescription ="上传附件Id")]
  43. public string? Additions { get; set; }
  44. }