using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; using Nest; namespace CoreEntity.Entity { [Serializable] //[JsonObject(MemberSerialization.OptOut)] public class mem_MemberBase { private string _Id; private long? _memberkey; private string _memberheapic; private string _membernickname; private int? _membergender; private DateTime? _memberbirthday; private string _memusualprovincecode; private string _memusualcitycode; private string _memusualareacode; private string _memusualphone; private string _memberid; private DateTime? _registertime; private bool? _hasorder; private string _memusualaddress; private decimal? _receivelat; private decimal? _receivelng; private string _memphone1; private string _memphone2; private string _memphone3; private int? _origintype; private string _registeryear; private string _registermonth; private string _registerday; private string _mememail; private string _memdesc; private string _tradefrom; private string _tradename; private string _OrdersCode; private string _MemUsualPhoneCr; private string _MemUsualPhoneOr; private string _patientid; private long? _patientkey; private string _patientname; private string _patientage; private DateTime? _patientbirthday; private DateTime? _patientmariageat; private string _patientheight; private string _patientweight; private string _patientgender; private string _patientphone; private string _memname; private string _idcardno; private string _nation; private string _gender; private string _signorgname; private DateTime? _birthday; private string _validstartdate; private string _validenddate; private string _memberphone; private string _age; private string _deliveryzipcode; private string _phone1; private string _phone2; private string _phone3; private string _deliveryaddress; private IList _Terminals; private IList _Friends; private IList _Tags; public mem_MemberBase() { } public long? MemberKey { get { return _memberkey; } set { _memberkey = value; } } public string MemberHeaPic { get { return _memberheapic; } set { _memberheapic = value; } } public string MemberNickName { get { return _membernickname; } set { _membernickname = value; } } public int? MemberGender { get { return _membergender; } set { _membergender = value; } } public DateTime? MemberBirthday { get { return _memberbirthday; } set { _memberbirthday = value; } } public string MemUsualProvinceCode { get { return _memusualprovincecode; } set { _memusualprovincecode = value; } } public string MemUsualCityCode { get { return _memusualcitycode; } set { _memusualcitycode = value; } } public string MemUsualAreaCode { get { return _memusualareacode; } set { _memusualareacode = value; } } public string MemUsualPhone { get { return _memusualphone; } set { _memusualphone = value; } } public string MemberId { get { return _memberid; } set { _memberid = value; } } public DateTime? RegisterTime { get { return _registertime; } set { _registertime = value; } } public bool? HasOrder { get { return _hasorder; } set { _hasorder = value; } } public string MemUsualAddress { get { return _memusualaddress; } set { _memusualaddress = value; } } public decimal? ReceiveLAT { get { return _receivelat; } set { _receivelat = value; } } public decimal? ReceiveLNG { get { return _receivelng; } set { _receivelng = value; } } public string MemPhone1 { get { return _memphone1; } set { _memphone1 = value; } } public string MemPhone2 { get { return _memphone2; } set { _memphone2 = value; } } public string MemPhone3 { get { return _memphone3; } set { _memphone3 = value; } } public int? OriginType { get { return _origintype; } set { _origintype = value; } } public string RegisterYear { get { return _registeryear; } set { _registeryear = value; } } public string RegisterMonth { get { return _registermonth; } set { _registermonth = value; } } public string RegisterDay { get { return _registerday; } set { _registerday = value; } } public string MemEmail { get { return _mememail; } set { _mememail = value; } } public string MemDesc { get { return _memdesc; } set { _memdesc = value; } } public string TradeFrom { get { return _tradefrom; } set { _tradefrom = value; } } public string TradeName { get { return _tradename; } set { _tradename = value; } } // [JsonIgnore] public string _id { get => _Id; set => _Id = value; } public string OrdersCode { get => _OrdersCode; set => _OrdersCode = value; } /// /// 会员健康档案 /// public string PatientId { get { return _patientid; } set { _patientid = value; } } public long? PatientKey { get { return _patientkey; } set { _patientkey = value; } } public string PatientName { get { return _patientname; } set { _patientname = value; } } public string PatientAge { get { return _patientage; } set { _patientage = value; } } public DateTime? PatientBirthDay { get { return _patientbirthday; } set { _patientbirthday = value; } } public DateTime? PatientMariageAt { get { return _patientmariageat; } set { _patientmariageat = value; } } public string PatientHeight { get { return _patientheight; } set { _patientheight = value; } } public string PatientWeight { get { return _patientweight; } set { _patientweight = value; } } public string PatientGender { get { return _patientgender; } set { _patientgender = value; } } public string PatientPhone { get { return _patientphone; } set { _patientphone = value; } } /// /// 会员实名信息 /// /// public string MemName { get { return _memname; } set { _memname = value; } } public string IdCardNo { get { return _idcardno; } set { _idcardno = value; } } public string Nation { get { return _nation; } set { _nation = value; } } public string Gender { get { return _gender; } set { _gender = value; } } public string SignOrgName { get { return _signorgname; } set { _signorgname = value; } } public DateTime? BirthDay { get { return _birthday; } set { _birthday = value; } } public string ValidStartDate { get { return _validstartdate; } set { _validstartdate = value; } } public string ValidEndDate { get { return _validenddate; } set { _validenddate = value; } } public string MemberPhone { get { return _memberphone; } set { _memberphone = value; } } public string Age { get { return _age; } set { _age = value; } } public string DeliveryZipCode { get { return _deliveryzipcode; } set { _deliveryzipcode = value; } } public string Phone1 { get { return _phone1; } set { _phone1 = value; } } public string Phone2 { get { return _phone2; } set { _phone2 = value; } } public string Phone3 { get { return _phone3; } set { _phone3 = value; } } public string DeliveryAddress { get { return _deliveryaddress; } set { _deliveryaddress = value; } } //[ElasticProperty(Type = FieldType.Nested)] public IList Terminals { get => _Terminals; set => _Terminals = value; } //[ElasticProperty(Type = FieldType.Nested)] public IList Friends { get => _Friends; set => _Friends = value; } //[ElasticProperty(Type = FieldType.Nested)] public IList Tags { get => _Tags; set => _Tags = value; } public string MemUsualPhoneCr { get => _MemUsualPhoneCr; set => _MemUsualPhoneCr = value; } public string MemUsualPhoneOr { get => _MemUsualPhoneOr; set => _MemUsualPhoneOr = value; } } }