You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using Newtonsoft.Json;
- using System;
- using System.Collections.Generic;
- using System.Text;
-
- namespace HKLib.Dto
- {
- public class UserDto
- {
- /// <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("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; }
- }
- }
|