using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PTMedicalInsurance.Entity
{
///
/// 人员信息获取[1101]的请求参数
///
public class PersonInfoRequest
{
///
/// 就诊凭证类型
///
public string mdtrt_cert_type { get; set; }
///
/// 就诊凭证编号
///
public string mdtrt_cert_no { get; set; }
///
/// 卡识别码
///
public string card_sn { get; set; }
///
/// 开始时间
///
public string begntime { get; set; }
///
/// 人员证件类型
///
public string psn_cert_type { get; set; }
///
/// 证件号码
///
public string certno { get; set; }
///
/// 人员姓名
///
public string psn_name { get; set; }
}
///
/// 人员信息获取[1101]的返回结果
///
public class PersonCardInfo
{
///
/// 基本信息
///
[JsonProperty("baseinfo")]
public BaseInfo baseInfo { get; set; }
///
/// 参保信息列表
///
[JsonProperty("insuinfo")]
public InsuInfo[] insuInfo { get; set; }
///
/// 身份信息列表
///
[JsonProperty("idetinfo")]
public IdetInfo[] idetInfo { get; set; }
[JsonProperty("cardecinfo")]
public CardInfo cardInfo { get; set; }
///
/// 省平台订单号【扩展】
///
public string platformOrderNo;
}
public class CardInfo
{
///
/// 人员证件类型
///
public string psn_cert_type { get; set; }
///
/// 证件号码
///
public string certno { get; set; }
///
/// 人员姓名
///
public string psn_name { get; set; }
///
/// 社保卡卡号
/// 读卡时返回
///
public string cardno { get; set; }
///
/// 卡识别码
/// 读卡时返回
///
public string card_sn { get; set; }
///
/// 令牌
/// 读电子凭证使用
///
public string ecToken { get; set; }
///
/// 有效期
///
public string expireDate { get; set; }
}
///
/// 基本信息
///
public class BaseInfo
{
///
/// 人员编号
///
public string psn_no { get; set; }
///
/// 人员证件类型
///
public string psn_cert_type { get; set; }
///
/// 证件号码
///
public string certno { get; set; }
///
/// 人员姓名
///
/// 性别
///
public string gend { get; set; }
///
/// 民族
///
public string naty { get; set; }
///
/// 出生日期
///
public string brdy { get; set; }
///
/// 年龄
///
public decimal age { get; set; }
}
///
/// 参保信息
///
public class InsuInfo
{
///
/// 余额
///
public double balc { get; set; }
///
/// 险种类型
///
public string insutype { get; set; }
///
/// 人员类别
///
public string psn_type { get; set; }
///
/// 医疗类别
///
public string med_type { get; set; }
///
/// 人员参保状态
///
public string psn_insu_stas { get; set; }
///
/// 个人参保日期
///
public string psn_insu_date { get; set; }
///
/// 暂停参保日期
///
public string paus_insu_date { get; set; }
///
/// 公务员标志
///
public string cvlserv_flag { get; set; }
///
/// 参保地医保区划
///
public string insuplc_admdvs { get; set; }
///
/// 单位名称
///
public string emp_name { get; set; }
///
/// 社保机构编号
///
public string insu_orgCode { set; get; }
///
/// 参保机构名称
///
public string insuplc_name { set; get; }
}
///
/// 身份信息
///
public class IdetInfo
{
///
/// 人员身份类别
///
public string psn_idet_type { get; set; }
///
/// 人员类别等级
///
public string psn_type_lv { get; set; }
///
/// 备注
///
public string memo { get; set; }
///
/// 开始时间
///
public string begntime { get; set; }
///
/// 结束时间
///
public string endtime { get; set; }
}
}