using BPA.KitChen.GroupMealOrder.Core.Common.Const; using BPA.KitChen.GroupMealOrder.Core.Entity.Base; using Furion; using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BPA.KitChen.GroupMealOrder.Core.Entity { /// /// 会员 /// [SugarTable("BPA_MemberInfo")] public class BPA_MemberInfo : IEntity { [SugarColumn(ColumnDataType = "nvarchar(64)", ColumnDescription = "GroupId", IsNullable = true)] public string GroupId { get; set; } = App.User?.FindFirst(ClaimConst.GroupId)?.Value; /// /// /// [SugarColumn(IsNullable = true)] public string NickName { get; set; } /// /// 0=未知 1=男 2=女 /// public int Sex { get; set; } /// /// 头像 /// [SugarColumn(IsNullable = true)] public string HeadImgUrl { get; set; } /// /// 国家 /// [SugarColumn(IsNullable = true)] public string Country { get; set; } /// /// 省 /// [SugarColumn(IsNullable = true)] public string Province { get; set; } /// /// 市 /// [SugarColumn(IsNullable = true)] public string City { get; set; } /// /// 县(区) /// [SugarColumn(IsNullable = true)] public string County { get; set; } /// /// 具体地址 /// [SugarColumn(IsNullable = true)] public string Address { get; set; } /// /// 出生日期 /// public DateTime Birthday { get; set; } /// /// 电话 /// [SugarColumn(IsNullable = true)] public string Phone { get; set; } /// /// 真实姓名 /// [SugarColumn(IsNullable = true)] public string RealName { get; set; } /// /// 身份证号码 /// [SugarColumn(IsNullable = true)] public string CardNum { get; set; } /// /// 等级 /// [SugarColumn(IsNullable = true)] public string Level_Id { get; set; } /// /// 向外展示那个平台的信息 0:默认 1.微信 2.支付宝 /// public int ShowPlatformType { get; set; } /// /// 积分 /// public decimal Integral { get; set; } } }