using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace HKLib.Dto
{
public class UserDto
{
///
/// 机构
///
public string OrgId { get; set; }
///
/// 姓名
///
public string Name { get; set; }
///
/// 手机号
///
public string Phone { get; set; }
///
/// 卡号
///
public string CardNo { get; set; }
}
public class UserListDto
{
[JsonProperty("realName")]
public string Name { get; set; }
///
/// 手机号
///
[JsonProperty("phone")]
public string Phone { get; set; }
///
/// 机构信息
///
[JsonProperty("memberTagInfo")]
public List OrgInfo { get; set; }
///
/// 卡集合
///
[JsonProperty("memberCardInfo")]
public List Cards { get; set; }
}
public class MemberTagInfoDto
{
[JsonProperty("id")]
public string Id { get; set; }
///
/// 机构名称
///
[JsonProperty("name")]
public string Name { get; set; }
}
public class CardInfo
{
///
/// 卡号
///
[JsonProperty("cardNum")]
public string CardNum { get; set; }
///
/// 卡状态 0.禁用 1.正常 2.挂失 3.作废
///
[JsonProperty("state")]
public int State { get; set; }
}
}