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