using System; using System.Collections.Generic; using System.Linq; using System.Text; using Newtonsoft.Json; namespace POSV.Card { /// /// 会员信息查询应答结果 /// [Serializable] [JsonObject(MemberSerialization.OptIn)] public class CardInfoResponse { /// /// 企业编号 /// [JsonProperty(PropertyName = "tenantId")] public string TenantId { get; set; } /// /// 卡号 /// [JsonProperty(PropertyName = "cardNo")] public string CardNo { get; set; } /// /// 会员姓名 /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } /// /// 卡状态(1-正常;2-预售;3-挂失;4-冻结;5-销户;) /// [JsonProperty(PropertyName = "status")] public int Status { get; set; } /// /// 卡类型ID /// [JsonProperty(PropertyName = "cardTypeId")] public string CardTypeId { get; set; } /// /// 卡类型编号 /// [JsonProperty(PropertyName = "cardTypeNo")] public string CardTypeNo { get; set; } /// /// 卡类型名称 /// [JsonProperty(PropertyName = "cardTypeName")] public string CardTypeName { get; set; } /// /// 卡等级ID /// [JsonProperty(PropertyName = "cardLevelId")] public string CardLevelId { get; set; } /// /// 卡等级编号 /// [JsonProperty(PropertyName = "cardLevelNo")] public string CardLevelNo { get; set; } /// /// 卡等级名称 /// [JsonProperty(PropertyName = "cardLevelName")] public string CardLevelName { get; set; } /// /// 是否享受会员价(0-否 1-是) /// [JsonProperty(PropertyName = "memberPriceFlag")] public int MemberPriceFlag { get; set; } /// /// 优惠方式(1-会员价 2-会员价折扣 3-零售价折扣 4-会员价优惠固定金额 5-零售价优惠固定金额) /// [JsonProperty(PropertyName = "dicountWay")] public double DicountWay { get; set; } /// /// 优惠内容(折扣比率:0-1之间,例如:0.3表示打三折) /// [JsonProperty(PropertyName = "discount")] public double Discount { get; set; } /// /// 会员ID /// [JsonProperty(PropertyName = "memberId")] public string MemberId { get; set; } /// /// 手机号 /// [JsonProperty(PropertyName = "mobile")] public string Mobile { get; set; } /// /// 联系电话 /// [JsonProperty(PropertyName = "linkphone")] public string Linkphone { get; set; } /// /// 生日(yyyy-MM-dd) /// [JsonProperty(PropertyName = "birthday")] public string Birthday { get; set; } /// /// 是否公历(0-否 1-是) /// [JsonProperty(PropertyName = "isSolar")] public int IsSolar { get; set; } /// /// 性别(0-女 1-男 2-保密) /// [JsonProperty(PropertyName = "sex")] public int Sex { get; set; } /// /// 邮箱 /// [JsonProperty(PropertyName = "email")] public string Email { get; set; } /// /// QQ /// [JsonProperty(PropertyName = "qq")] public string Qq { get; set; } /// /// 会员类型编号 /// [JsonProperty(PropertyName = "memberTypeNo")] public string MemberTypeNo { get; set; } /// /// 会员类型名称 /// [JsonProperty(PropertyName = "memberTypeName")] public string MemberTypeName { get; set; } /// /// 来源标识编号 /// [JsonProperty(PropertyName = "sourceNo")] public string SourceNo { get; set; } /// /// 来源标识名称 /// [JsonProperty(PropertyName = "sourceName")] public string SourceName { get; set; } /// /// 证件类型编号 /// [JsonProperty(PropertyName = "creTypeNo")] public string CreTypeNo { get; set; } /// /// 证件类型名称 /// [JsonProperty(PropertyName = "creTypeName")] public string CreTypeName { get; set; } /// /// 证件号码 /// [JsonProperty(PropertyName = "creNo")] public string CreNo { get; set; } /// /// 家庭住址 /// [JsonProperty(PropertyName = "address")] public string Address { get; set; } /// /// 开户门店ID /// [JsonProperty(PropertyName = "shopId")] public string ShopId { get; set; } /// /// 开户门店编号 /// [JsonProperty(PropertyName = "shopNo")] public string ShopNo { get; set; } /// /// 开户门店名称 /// [JsonProperty(PropertyName = "shopName")] public string ShopName { get; set; } /// /// 备注 /// [JsonProperty(PropertyName = "description")] public string Description { get; set; } /// /// 卡有效期(时间格式:yyyy-MM-dd) /// [JsonProperty(PropertyName = "validDate")] public string ValidDate { get; set; } /// /// 老卡号 /// [JsonProperty(PropertyName = "oldCardNo")] public string OldCardNo { get; set; } /// /// 开启小额免密支付(0-否 1-是) /// [JsonProperty(PropertyName = "isNoPwd")] public int IsNoPwd { get; set; } /// /// 免密金额 /// [JsonProperty(PropertyName = "npAmount")] public double NpAmount { get; set; } /// /// 总余额 /// [JsonProperty(PropertyName = "totalAmount")] public double TotalAmount { get; set; } /// /// 保底金額 /// [JsonProperty(PropertyName = "baseAmount")] public double BaseAmount { get; set; } /// /// 冻结余额 /// [JsonProperty(PropertyName = "stageAmount")] public double StageAmount { get; set; } /// /// 可用余额 /// [JsonProperty(PropertyName = "availableAmount")] public double AvailableAmount { get; set; } /// /// 总积分 /// [JsonProperty(PropertyName = "totalPoint")] public double TotalPoint { get; set; } } }