Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
|
- using Newtonsoft.Json;
- using System;
- using System.Collections.Generic;
- using System.Text;
-
- namespace HKLib.Dto
- {
- public class UserDto
- {
- public String Num { get; set; }
- /// <summary>
- /// 机构
- /// </summary>
- public string OrgId { get; set; }
- /// <summary>
- /// 姓名
- /// </summary>
- public string Name { get; set; }
- /// <summary>
- /// 手机号
- /// </summary>
- public string Phone { get; set; }
- /// <summary>
- /// 卡号
- /// </summary>
- public string CardNo { get; set; }
- }
- public class UserListDto
- {
- [JsonProperty("num")]
- public string Num { get; set; }
- [JsonProperty("realName")]
- public string Name { get; set; }
- /// <summary>
- /// 手机号
- /// </summary>
- [JsonProperty("phone")]
- public string Phone { get; set; }
- /// <summary>
- /// 机构信息
- /// </summary>
- [JsonProperty("memberTagInfo")]
- public List<MemberTagInfoDto> OrgInfo { get; set; }
- /// <summary>
- /// 卡集合
- /// </summary>
- [JsonProperty("memberCardInfo")]
- public List<CardInfo> Cards { get; set; }
- }
- public class MemberTagInfoDto
- {
- [JsonProperty("id")]
- public string Id { get; set; }
- /// <summary>
- /// 机构名称
- /// </summary>
- [JsonProperty("name")]
- public string Name { get; set; }
- }
- public class CardInfo
- {
- /// <summary>
- /// 卡号
- /// </summary>
- [JsonProperty("cardNum")]
- public string CardNum { get; set; }
- /// <summary>
- /// 卡状态 0.禁用 1.正常 2.挂失 3.作废
- /// </summary>
- [JsonProperty("state")]
- public int State { get; set; }
- }
- }
|