mem_MemberBase.cs 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416
  1. using Newtonsoft.Json;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. using Nest;
  6. namespace CoreEntity.Entity
  7. {
  8. [Serializable]
  9. //[JsonObject(MemberSerialization.OptOut)]
  10. public class mem_MemberBase
  11. {
  12. private string _Id;
  13. private long? _memberkey;
  14. private string _memberheapic;
  15. private string _membernickname;
  16. private int? _membergender;
  17. private DateTime? _memberbirthday;
  18. private string _memusualprovincecode;
  19. private string _memusualcitycode;
  20. private string _memusualareacode;
  21. private string _memusualphone;
  22. private string _memberid;
  23. private DateTime? _registertime;
  24. private bool? _hasorder;
  25. private string _memusualaddress;
  26. private decimal? _receivelat;
  27. private decimal? _receivelng;
  28. private string _memphone1;
  29. private string _memphone2;
  30. private string _memphone3;
  31. private int? _origintype;
  32. private string _registeryear;
  33. private string _registermonth;
  34. private string _registerday;
  35. private string _mememail;
  36. private string _memdesc;
  37. private string _tradefrom;
  38. private string _tradename;
  39. private string _OrdersCode;
  40. private string _MemUsualPhoneCr;
  41. private string _MemUsualPhoneOr;
  42. private string _patientid;
  43. private long? _patientkey;
  44. private string _patientname;
  45. private string _patientage;
  46. private DateTime? _patientbirthday;
  47. private DateTime? _patientmariageat;
  48. private string _patientheight;
  49. private string _patientweight;
  50. private string _patientgender;
  51. private string _patientphone;
  52. private string _memname;
  53. private string _idcardno;
  54. private string _nation;
  55. private string _gender;
  56. private string _signorgname;
  57. private DateTime? _birthday;
  58. private string _validstartdate;
  59. private string _validenddate;
  60. private string _memberphone;
  61. private string _age;
  62. private string _deliveryzipcode;
  63. private string _phone1;
  64. private string _phone2;
  65. private string _phone3;
  66. private string _deliveryaddress;
  67. private IList<mem_MemberTerminal> _Terminals;
  68. private IList<mem_MemberFriends> _Friends;
  69. private IList<mem_MemberTag> _Tags;
  70. public mem_MemberBase()
  71. {
  72. }
  73. public long? MemberKey
  74. {
  75. get { return _memberkey; }
  76. set { _memberkey = value; }
  77. }
  78. public string MemberHeaPic
  79. {
  80. get { return _memberheapic; }
  81. set { _memberheapic = value; }
  82. }
  83. public string MemberNickName
  84. {
  85. get { return _membernickname; }
  86. set { _membernickname = value; }
  87. }
  88. public int? MemberGender
  89. {
  90. get { return _membergender; }
  91. set { _membergender = value; }
  92. }
  93. public DateTime? MemberBirthday
  94. {
  95. get { return _memberbirthday; }
  96. set { _memberbirthday = value; }
  97. }
  98. public string MemUsualProvinceCode
  99. {
  100. get { return _memusualprovincecode; }
  101. set { _memusualprovincecode = value; }
  102. }
  103. public string MemUsualCityCode
  104. {
  105. get { return _memusualcitycode; }
  106. set { _memusualcitycode = value; }
  107. }
  108. public string MemUsualAreaCode
  109. {
  110. get { return _memusualareacode; }
  111. set { _memusualareacode = value; }
  112. }
  113. public string MemUsualPhone
  114. {
  115. get { return _memusualphone; }
  116. set { _memusualphone = value; }
  117. }
  118. public string MemberId
  119. {
  120. get { return _memberid; }
  121. set { _memberid = value; }
  122. }
  123. public DateTime? RegisterTime
  124. {
  125. get { return _registertime; }
  126. set { _registertime = value; }
  127. }
  128. public bool? HasOrder
  129. {
  130. get { return _hasorder; }
  131. set { _hasorder = value; }
  132. }
  133. public string MemUsualAddress
  134. {
  135. get { return _memusualaddress; }
  136. set { _memusualaddress = value; }
  137. }
  138. public decimal? ReceiveLAT
  139. {
  140. get { return _receivelat; }
  141. set { _receivelat = value; }
  142. }
  143. public decimal? ReceiveLNG
  144. {
  145. get { return _receivelng; }
  146. set { _receivelng = value; }
  147. }
  148. public string MemPhone1
  149. {
  150. get { return _memphone1; }
  151. set { _memphone1 = value; }
  152. }
  153. public string MemPhone2
  154. {
  155. get { return _memphone2; }
  156. set { _memphone2 = value; }
  157. }
  158. public string MemPhone3
  159. {
  160. get { return _memphone3; }
  161. set { _memphone3 = value; }
  162. }
  163. public int? OriginType
  164. {
  165. get { return _origintype; }
  166. set { _origintype = value; }
  167. }
  168. public string RegisterYear
  169. {
  170. get { return _registeryear; }
  171. set { _registeryear = value; }
  172. }
  173. public string RegisterMonth
  174. {
  175. get { return _registermonth; }
  176. set { _registermonth = value; }
  177. }
  178. public string RegisterDay
  179. {
  180. get { return _registerday; }
  181. set { _registerday = value; }
  182. }
  183. public string MemEmail
  184. {
  185. get { return _mememail; }
  186. set { _mememail = value; }
  187. }
  188. public string MemDesc
  189. {
  190. get { return _memdesc; }
  191. set { _memdesc = value; }
  192. }
  193. public string TradeFrom
  194. {
  195. get { return _tradefrom; }
  196. set { _tradefrom = value; }
  197. }
  198. public string TradeName
  199. {
  200. get { return _tradename; }
  201. set { _tradename = value; }
  202. }
  203. // [JsonIgnore]
  204. public string _id { get => _Id; set => _Id = value; }
  205. public string OrdersCode { get => _OrdersCode; set => _OrdersCode = value; }
  206. /// <summary>
  207. /// 会员健康档案
  208. /// </summary>
  209. public string PatientId
  210. {
  211. get { return _patientid; }
  212. set { _patientid = value; }
  213. }
  214. public long? PatientKey
  215. {
  216. get { return _patientkey; }
  217. set { _patientkey = value; }
  218. }
  219. public string PatientName
  220. {
  221. get { return _patientname; }
  222. set { _patientname = value; }
  223. }
  224. public string PatientAge
  225. {
  226. get { return _patientage; }
  227. set { _patientage = value; }
  228. }
  229. public DateTime? PatientBirthDay
  230. {
  231. get { return _patientbirthday; }
  232. set { _patientbirthday = value; }
  233. }
  234. public DateTime? PatientMariageAt
  235. {
  236. get { return _patientmariageat; }
  237. set { _patientmariageat = value; }
  238. }
  239. public string PatientHeight
  240. {
  241. get { return _patientheight; }
  242. set { _patientheight = value; }
  243. }
  244. public string PatientWeight
  245. {
  246. get { return _patientweight; }
  247. set { _patientweight = value; }
  248. }
  249. public string PatientGender
  250. {
  251. get { return _patientgender; }
  252. set { _patientgender = value; }
  253. }
  254. public string PatientPhone
  255. {
  256. get { return _patientphone; }
  257. set { _patientphone = value; }
  258. }
  259. /// <summary>
  260. /// 会员实名信息
  261. /// </summary>
  262. ///
  263. public string MemName
  264. {
  265. get { return _memname; }
  266. set { _memname = value; }
  267. }
  268. public string IdCardNo
  269. {
  270. get { return _idcardno; }
  271. set { _idcardno = value; }
  272. }
  273. public string Nation
  274. {
  275. get { return _nation; }
  276. set { _nation = value; }
  277. }
  278. public string Gender
  279. {
  280. get { return _gender; }
  281. set { _gender = value; }
  282. }
  283. public string SignOrgName
  284. {
  285. get { return _signorgname; }
  286. set { _signorgname = value; }
  287. }
  288. public DateTime? BirthDay
  289. {
  290. get { return _birthday; }
  291. set { _birthday = value; }
  292. }
  293. public string ValidStartDate
  294. {
  295. get { return _validstartdate; }
  296. set { _validstartdate = value; }
  297. }
  298. public string ValidEndDate
  299. {
  300. get { return _validenddate; }
  301. set { _validenddate = value; }
  302. }
  303. public string MemberPhone
  304. {
  305. get { return _memberphone; }
  306. set { _memberphone = value; }
  307. }
  308. public string Age
  309. {
  310. get { return _age; }
  311. set { _age = value; }
  312. }
  313. public string DeliveryZipCode
  314. {
  315. get { return _deliveryzipcode; }
  316. set { _deliveryzipcode = value; }
  317. }
  318. public string Phone1
  319. {
  320. get { return _phone1; }
  321. set { _phone1 = value; }
  322. }
  323. public string Phone2
  324. {
  325. get { return _phone2; }
  326. set { _phone2 = value; }
  327. }
  328. public string Phone3
  329. {
  330. get { return _phone3; }
  331. set { _phone3 = value; }
  332. }
  333. public string DeliveryAddress
  334. {
  335. get { return _deliveryaddress; }
  336. set { _deliveryaddress = value; }
  337. }
  338. //[ElasticProperty(Type = FieldType.Nested)]
  339. public IList<mem_MemberTerminal> Terminals { get => _Terminals; set => _Terminals = value; }
  340. //[ElasticProperty(Type = FieldType.Nested)]
  341. public IList<mem_MemberFriends> Friends { get => _Friends; set => _Friends = value; }
  342. //[ElasticProperty(Type = FieldType.Nested)]
  343. public IList<mem_MemberTag> Tags { get => _Tags; set => _Tags = value; }
  344. public string MemUsualPhoneCr { get => _MemUsualPhoneCr; set => _MemUsualPhoneCr = value; }
  345. public string MemUsualPhoneOr { get => _MemUsualPhoneOr; set => _MemUsualPhoneOr = value; }
  346. }
  347. }