using System; using System.Collections.Generic; using System.Linq; using System.Text; using Newtonsoft.Json; namespace POSV.Card { /// /// 会员卡开户、建档 /// [Serializable] [JsonObject(MemberSerialization.OptIn)] public class CardOpenRequest { /// /// 卡号 /// [JsonProperty(PropertyName = "cardNo")] public string CardNo { get; set; } /// /// 卡密码(DES加密) /// [JsonProperty(PropertyName = "passwd")] public string Passwd { get; set; } /// /// 门店编号 /// [JsonProperty(PropertyName = "shopNo")] public string ShopNo { get; set; } /// /// 终端编号 /// [JsonProperty(PropertyName = "posNo")] public string PosNo { get; set; } /// /// 员工编号 /// [JsonProperty(PropertyName = "workerNo")] public string WorkerNo { get; set; } /// /// 终端标识(web、pos、wechat) /// [JsonProperty(PropertyName = "sourceSign")] public string SourceSign { get; set; } = "pos"; /// /// 手机号 /// [JsonProperty(PropertyName = "mobile")] public string Mobile { get; set; } /// /// 姓名 /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } /// /// 来源(见基础参数-会员来源) /// [JsonProperty(PropertyName = "sourceNo")] public string SourceNo { get; set; } = "01"; /// /// 会员类型(见基础参数-会员类型) /// [JsonProperty(PropertyName = "memberTypeNo")] public string MemberTypeNo { get; set; } /// /// 证件类型(见基础参数-证件类型) /// [JsonProperty(PropertyName = "creTypeNo")] public string CreTypeNo { get; set; } /// /// 证件号码 /// [JsonProperty(PropertyName = "creNo")] public string CreNo { get; set; } /// /// 联系电话 /// [JsonProperty(PropertyName = "linkphone")] public string LinkPhone { get; set; } /// /// 性别(1:男;0:女;) /// [JsonProperty(PropertyName = "sex")] public string Sex { get; set; } /// /// 生日(yyyy-MM-dd) /// [JsonProperty(PropertyName = "birthday")] public string Birthday { get; set; } /// /// 是否公历(1:是;0:否;) /// [JsonProperty(PropertyName = "isSolar")] public int IsSolar { get; set; } /// /// QQ号码 /// [JsonProperty(PropertyName = "qq")] public string QQ { get; set; } /// /// 电子邮箱 /// [JsonProperty(PropertyName = "email")] public string Email { get; set; } /// /// 家庭住址 /// [JsonProperty(PropertyName = "address")] public string Address { get; set; } /// /// 备注 /// [JsonProperty(PropertyName = "description")] public string Description { get; set; } } }