团餐订单
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.
 
 

96 lines
2.8 KiB

  1. using BPA.KitChen.GroupMealOrder.Core.Common.Const;
  2. using BPA.KitChen.GroupMealOrder.Core.Entity.Base;
  3. using Furion;
  4. using SqlSugar;
  5. using System;
  6. using System.Collections.Generic;
  7. using System.Linq;
  8. using System.Text;
  9. using System.Threading.Tasks;
  10. namespace BPA.KitChen.GroupMealOrder.Core.Entity
  11. {
  12. /// <summary>
  13. /// 会员
  14. /// </summary>
  15. [SugarTable("BPA_MemberInfo")]
  16. public class BPA_MemberInfo : IEntity
  17. {
  18. [SugarColumn(ColumnDataType = "nvarchar(64)", ColumnDescription = "GroupId", IsNullable = true)]
  19. public string GroupId { get; set; } = App.User?.FindFirst(ClaimConst.GroupId)?.Value;
  20. /// <summary>
  21. ///
  22. /// </summary>
  23. [SugarColumn(IsNullable = true)]
  24. public string NickName { get; set; }
  25. /// <summary>
  26. /// 0=未知 1=男 2=女
  27. /// </summary>
  28. public int Sex { get; set; }
  29. /// <summary>
  30. /// 头像
  31. /// </summary>
  32. [SugarColumn(IsNullable = true)]
  33. public string HeadImgUrl { get; set; }
  34. /// <summary>
  35. /// 国家
  36. /// </summary>
  37. [SugarColumn(IsNullable = true)]
  38. public string Country { get; set; }
  39. /// <summary>
  40. /// 省
  41. /// </summary>
  42. [SugarColumn(IsNullable = true)]
  43. public string Province { get; set; }
  44. /// <summary>
  45. /// 市
  46. /// </summary>
  47. [SugarColumn(IsNullable = true)]
  48. public string City { get; set; }
  49. /// <summary>
  50. /// 县(区)
  51. /// </summary>
  52. [SugarColumn(IsNullable = true)]
  53. public string County { get; set; }
  54. /// <summary>
  55. /// 具体地址
  56. /// </summary>
  57. [SugarColumn(IsNullable = true)]
  58. public string Address { get; set; }
  59. /// <summary>
  60. /// 出生日期
  61. /// </summary>
  62. public DateTime Birthday { get; set; }
  63. /// <summary>
  64. /// 电话
  65. /// </summary>
  66. [SugarColumn(IsNullable = true)]
  67. public string Phone { get; set; }
  68. /// <summary>
  69. /// 真实姓名
  70. /// </summary>
  71. [SugarColumn(IsNullable = true)]
  72. public string RealName { get; set; }
  73. /// <summary>
  74. /// 身份证号码
  75. /// </summary>
  76. [SugarColumn(IsNullable = true)]
  77. public string CardNum { get; set; }
  78. /// <summary>
  79. /// 等级
  80. /// </summary>
  81. [SugarColumn(IsNullable = true)]
  82. public string Level_Id { get; set; }
  83. /// <summary>
  84. /// 向外展示那个平台的信息 0:默认 1.微信 2.支付宝
  85. /// </summary>
  86. public int ShowPlatformType { get; set; }
  87. /// <summary>
  88. /// 积分
  89. /// </summary>
  90. public decimal Integral { get; set; }
  91. }
  92. }