using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Data.Linq.Mapping; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PTMedicalInsurance.Entity.Base.Clearing { class OutOfAreaClearingConfirmInput:EntityBase { public OutOfAreaClearingConfirmData data { get; set; } public List detail { get; set; } } class OutOfAreaClearingConfirmData { /// /// 序号: 1 /// 参数代码: trt_year /// 参数名称: 结算年度 /// 参数类型: 字符型 /// 参数长度: 4 /// 代码标识: /// 是否必填: Y /// 说明: /// [Column(Name = "TrtYear", CanBeNull = false, DbType = "VarChar(4)")] [StringLength(4)] [DisplayName("结算年度")] public string trt_year { get; set; } /// /// 序号: 2 /// 参数代码: trt_month /// 参数名称: 结算月份 /// 参数类型: 字符型 /// 参数长度: 2 /// 代码标识: /// 是否必填: Y /// 说明: 格式为:MM,如1月为01 /// [Column(Name = "TrtMonth", CanBeNull = false, DbType = "VarChar(2)")] [StringLength(2)] [DisplayName("结算月份")] public string trt_month { get; set; } /// /// 序号: 3 /// 参数代码: totalrow /// 参数名称: 总行数 /// 参数类型: 数值型 /// 参数长度: 12 /// 代码标识: /// 是否必填: Y /// 说明: /// [Column(Name = "TotalRow", CanBeNull = false, DbType = "Int")] [Range(0, int.MaxValue)] [DisplayName("总行数")] public int totalrow { get; set; } } class OutOfAreaClearingConfirmDetail { /// /// 序号: 1 /// 参数代码: certno /// 参数名称: 证件号码 /// 参数类型: 字符型 /// 参数长度: 18 /// 代码标识: /// 是否必填: Y /// 说明: /// [Column(Name = "CertNo", CanBeNull = false, DbType = "VarChar(18)")] [StringLength(18)] [DisplayName("证件号码")] public string certno { get; set; } /// /// 序号: 2 /// 参数代码: mdtrt_id /// 参数名称: 就诊登记号 /// 参数类型: 字符型 /// 参数长度: 20 /// 代码标识: /// 是否必填: Y /// 说明: 就诊业务标识’S’+参保地统筹地市区编号(6位)+日期(6位YYMMDD)+流水号(7位) /// [Column(Name = "MdtrtId", CanBeNull = false, DbType = "VarChar(20)")] [StringLength(20)] [DisplayName("就诊登记号")] public string mdtrt_id { get; set; } /// /// 序号: 3 /// 参数代码: mdtrt_setl_time /// 参数名称: 就诊结算时间 /// 参数类型: 日期型 /// 参数长度: /// 代码标识: /// 是否必填: Y /// 说明: 格式:yyyy-MM-dd HH:mm:ss /// [Column(Name = "MdtrtSetlTime", CanBeNull = false, DbType = "DateTime")] [DisplayName("就诊结算时间")] public string mdtrt_setl_time { get; set; } /// /// 序号: 4 /// 参数代码: setl_sn /// 参数名称: 结算流水号 /// 参数类型: 字符型 /// 参数长度: 30 /// 代码标识: Y /// 是否必填: Y /// 说明: 费用结算交易的返回的结算业务号,结算业务标识’A’+参保地统筹地市区编号(6位)+日期(6位YYMMDD)+流水号(7位) /// [Column(Name = "SetlSn", CanBeNull = false, DbType = "VarChar(30)")] [StringLength(30)] [DisplayName("结算流水号")] public string setl_sn { get; set; } /// /// 序号: 5 /// 参数代码: medfee_sumamt /// 参数名称: 总费用 /// 参数类型: 数值型 /// 参数长度: 16,2 /// 代码标识: /// 是否必填: Y /// 说明: /// [Column(Name = "MedfeeSumamt", CanBeNull = false, DbType = "Decimal(16,2)")] [Range(0, double.MaxValue)] [DisplayName("总费用")] public decimal medfee_sumamt { get; set; } /// /// 序号: 6 /// 参数代码: optins_pay_sumamt /// 参数名称: 经办机构支付总额 /// 参数类型: 数值型 /// 参数长度: 16,2 /// 代码标识: /// 是否必填: Y /// 说明: 该笔结算业务的全部医保支付金额,与结算时返回的一致 /// [Column(Name = "OptinsPaySumamt", CanBeNull = false, DbType = "Decimal(16,2)")] [Range(0, double.MaxValue)] [DisplayName("经办机构支付总额")] public decimal optins_pay_sumamt { get; set; } /// /// 序号: 7 /// 参数代码: cnfm_flag /// 参数名称: 确认标志 /// 参数类型: 字符型 /// 参数长度: /// 代码标识: /// 是否必填: /// 说明: 0-不确认,本次不纳入清分;1-确认,纳入本次清分 /// [Column(Name = "CnfmFlag", CanBeNull = false, DbType = "VarChar(1)")] [StringLength(1)] [DisplayName("确认标志")] public string cnfm_flag { get; set; } } class OutOfAreaClearingConfirmOutput : EntityBase { } }