OutOfAreaClearingConfirm.cs 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.ComponentModel.DataAnnotations;
  5. using System.Data.Linq.Mapping;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace PTMedicalInsurance.Entity.Base.Clearing
  10. {
  11. class OutOfAreaClearingConfirmInput:EntityBase
  12. {
  13. public OutOfAreaClearingConfirmData data { get; set; }
  14. public List<OutOfAreaClearingConfirmDetail> detail { get; set; }
  15. }
  16. class OutOfAreaClearingConfirmData
  17. {
  18. /// <summary>
  19. /// 序号: 1
  20. /// 参数代码: trt_year
  21. /// 参数名称: 结算年度
  22. /// 参数类型: 字符型
  23. /// 参数长度: 4
  24. /// 代码标识:
  25. /// 是否必填: Y
  26. /// 说明:
  27. /// </summary>
  28. [Column(Name = "TrtYear", CanBeNull = false, DbType = "VarChar(4)")]
  29. [StringLength(4)]
  30. [DisplayName("结算年度")]
  31. public string trt_year { get; set; }
  32. /// <summary>
  33. /// 序号: 2
  34. /// 参数代码: trt_month
  35. /// 参数名称: 结算月份
  36. /// 参数类型: 字符型
  37. /// 参数长度: 2
  38. /// 代码标识:
  39. /// 是否必填: Y
  40. /// 说明: 格式为:MM,如1月为01
  41. /// </summary>
  42. [Column(Name = "TrtMonth", CanBeNull = false, DbType = "VarChar(2)")]
  43. [StringLength(2)]
  44. [DisplayName("结算月份")]
  45. public string trt_month { get; set; }
  46. /// <summary>
  47. /// 序号: 3
  48. /// 参数代码: totalrow
  49. /// 参数名称: 总行数
  50. /// 参数类型: 数值型
  51. /// 参数长度: 12
  52. /// 代码标识:
  53. /// 是否必填: Y
  54. /// 说明:
  55. /// </summary>
  56. [Column(Name = "TotalRow", CanBeNull = false, DbType = "Int")]
  57. [Range(0, int.MaxValue)]
  58. [DisplayName("总行数")]
  59. public int totalrow { get; set; }
  60. }
  61. class OutOfAreaClearingConfirmDetail
  62. {
  63. /// <summary>
  64. /// 序号: 1
  65. /// 参数代码: certno
  66. /// 参数名称: 证件号码
  67. /// 参数类型: 字符型
  68. /// 参数长度: 18
  69. /// 代码标识:
  70. /// 是否必填: Y
  71. /// 说明:
  72. /// </summary>
  73. [Column(Name = "CertNo", CanBeNull = false, DbType = "VarChar(18)")]
  74. [StringLength(18)]
  75. [DisplayName("证件号码")]
  76. public string certno { get; set; }
  77. /// <summary>
  78. /// 序号: 2
  79. /// 参数代码: mdtrt_id
  80. /// 参数名称: 就诊登记号
  81. /// 参数类型: 字符型
  82. /// 参数长度: 20
  83. /// 代码标识:
  84. /// 是否必填: Y
  85. /// 说明: 就诊业务标识’S’+参保地统筹地市区编号(6位)+日期(6位YYMMDD)+流水号(7位)
  86. /// </summary>
  87. [Column(Name = "MdtrtId", CanBeNull = false, DbType = "VarChar(20)")]
  88. [StringLength(20)]
  89. [DisplayName("就诊登记号")]
  90. public string mdtrt_id { get; set; }
  91. /// <summary>
  92. /// 序号: 3
  93. /// 参数代码: mdtrt_setl_time
  94. /// 参数名称: 就诊结算时间
  95. /// 参数类型: 日期型
  96. /// 参数长度:
  97. /// 代码标识:
  98. /// 是否必填: Y
  99. /// 说明: 格式:yyyy-MM-dd HH:mm:ss
  100. /// </summary>
  101. [Column(Name = "MdtrtSetlTime", CanBeNull = false, DbType = "DateTime")]
  102. [DisplayName("就诊结算时间")]
  103. public string mdtrt_setl_time { get; set; }
  104. /// <summary>
  105. /// 序号: 4
  106. /// 参数代码: setl_sn
  107. /// 参数名称: 结算流水号
  108. /// 参数类型: 字符型
  109. /// 参数长度: 30
  110. /// 代码标识: Y
  111. /// 是否必填: Y
  112. /// 说明: 费用结算交易的返回的结算业务号,结算业务标识’A’+参保地统筹地市区编号(6位)+日期(6位YYMMDD)+流水号(7位)
  113. /// </summary>
  114. [Column(Name = "SetlSn", CanBeNull = false, DbType = "VarChar(30)")]
  115. [StringLength(30)]
  116. [DisplayName("结算流水号")]
  117. public string setl_sn { get; set; }
  118. /// <summary>
  119. /// 序号: 5
  120. /// 参数代码: medfee_sumamt
  121. /// 参数名称: 总费用
  122. /// 参数类型: 数值型
  123. /// 参数长度: 16,2
  124. /// 代码标识:
  125. /// 是否必填: Y
  126. /// 说明:
  127. /// </summary>
  128. [Column(Name = "MedfeeSumamt", CanBeNull = false, DbType = "Decimal(16,2)")]
  129. [Range(0, double.MaxValue)]
  130. [DisplayName("总费用")]
  131. public decimal medfee_sumamt { get; set; }
  132. /// <summary>
  133. /// 序号: 6
  134. /// 参数代码: optins_pay_sumamt
  135. /// 参数名称: 经办机构支付总额
  136. /// 参数类型: 数值型
  137. /// 参数长度: 16,2
  138. /// 代码标识:
  139. /// 是否必填: Y
  140. /// 说明: 该笔结算业务的全部医保支付金额,与结算时返回的一致
  141. /// </summary>
  142. [Column(Name = "OptinsPaySumamt", CanBeNull = false, DbType = "Decimal(16,2)")]
  143. [Range(0, double.MaxValue)]
  144. [DisplayName("经办机构支付总额")]
  145. public decimal optins_pay_sumamt { get; set; }
  146. /// <summary>
  147. /// 序号: 7
  148. /// 参数代码: cnfm_flag
  149. /// 参数名称: 确认标志
  150. /// 参数类型: 字符型
  151. /// 参数长度:
  152. /// 代码标识:
  153. /// 是否必填:
  154. /// 说明: 0-不确认,本次不纳入清分;1-确认,纳入本次清分
  155. /// </summary>
  156. [Column(Name = "CnfmFlag", CanBeNull = false, DbType = "VarChar(1)")]
  157. [StringLength(1)]
  158. [DisplayName("确认标志")]
  159. public string cnfm_flag { get; set; }
  160. }
  161. class OutOfAreaClearingConfirmOutput : EntityBase
  162. {
  163. }
  164. }