QueryOutOfAreaClearingDetails.cs 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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. public class QueryOutOfAreaClearingDetailsInput : EntityBase
  12. {
  13. /// <summary>
  14. /// 结算年度, 必填
  15. /// </summary>
  16. [Column(Name = "TrtYear", CanBeNull = false, DbType = "VarChar(4)")]
  17. [StringLength(4)]
  18. [DisplayName("结算年度")]
  19. public string trt_year { get; set; }
  20. /// <summary>
  21. /// 结算月份, 格式为:MM 如1月为01, 必填
  22. /// </summary>
  23. [Column(Name = "TrtMonth", CanBeNull = false, DbType = "VarChar(2)")]
  24. [StringLength(2)]
  25. [DisplayName("结算月份")]
  26. public string trt_month { get; set; }
  27. /// <summary>
  28. /// 开始行数, 必填
  29. /// </summary>
  30. [Column(Name = "StartRow", CanBeNull = false, DbType = "Int")]
  31. [DisplayName("开始行数")]
  32. public int startrow { get; set; }
  33. }
  34. public class QueryOutOfAreaClearingDetailsOutput : EntityBase
  35. {
  36. /// <summary>
  37. /// 顺序号, 必填
  38. /// </summary>
  39. [Column(Name = "SeqNo", CanBeNull = false, DbType = "Int")]
  40. [DisplayName("顺序号")]
  41. public int SeqNo { get; set; }
  42. /// <summary>
  43. /// 就医地医保区划, 地市编码, 必填
  44. /// </summary>
  45. [Column(Name = "MdtrtArea", CanBeNull = false, DbType = "VarChar(6)")]
  46. [StringLength(6)]
  47. [DisplayName("就医地医保区划")]
  48. public string MdtrtArea { get; set; }
  49. /// <summary>
  50. /// 医疗机构编号, 按照省统一编码, 必填
  51. /// </summary>
  52. [Column(Name = "MedinsNo", CanBeNull = false, DbType = "VarChar(22)")]
  53. [StringLength(22)]
  54. [DisplayName("医疗机构编号")]
  55. public string MedinsNo { get; set; }
  56. /// <summary>
  57. /// 证件号码, 必填
  58. /// </summary>
  59. [Column(Name = "CertNo", CanBeNull = false, DbType = "VarChar(18)")]
  60. [StringLength(18)]
  61. [DisplayName("证件号码")]
  62. public string CertNo { get; set; }
  63. /// <summary>
  64. /// 就诊登记号, 就诊业务标识’S’+参保地统筹地市区编号(6 位)+ 日期(6 位YYMMDD)+流水号 (7 位), 必填
  65. /// </summary>
  66. [Column(Name = "MdtrtId", CanBeNull = false, DbType = "VarChar(20)")]
  67. [StringLength(20)]
  68. [DisplayName("就诊登记号")]
  69. public string MdtrtId { get; set; }
  70. /// <summary>
  71. /// 就诊结算时间, 格式:yyyy-MM-dd HH:mm:ss, 必填
  72. /// </summary>
  73. [Column(Name = "MdtrtSetlTime", CanBeNull = false, DbType = "DateTime")]
  74. [DisplayName("就诊结算时间")]
  75. public DateTime MdtrtSetlTime { get; set; }
  76. /// <summary>
  77. /// 结算流水号, 费用结算交易的返回的结算业务号, 结算业务标识’A’+参保地统筹地市区编号(6 位)+ 日期(6 位YYMMDD)+流水号 (7 位), 必填
  78. /// </summary>
  79. [Column(Name = "SetlSn", CanBeNull = false, DbType = "VarChar(30)")]
  80. [StringLength(30)]
  81. [DisplayName("结算流水号")]
  82. public string SetlSn { get; set; }
  83. /// <summary>
  84. /// 全额垫付标志, 0-医院报销,1-零星报销, 必填
  85. /// </summary>
  86. [Column(Name = "FulamtAdvpayFlag", CanBeNull = false, DbType = "VarChar(3)")]
  87. [StringLength(3)]
  88. [DisplayName("全额垫付标志")]
  89. public string FulamtAdvpayFlag { get; set; }
  90. /// <summary>
  91. /// 总费用, 必填
  92. /// </summary>
  93. [Column(Name = "MedfeeSumamt", CanBeNull = false, DbType = "Decimal(16,2)")]
  94. [DisplayName("总费用")]
  95. public decimal MedfeeSumamt { get; set; }
  96. /// <summary>
  97. /// 经办机构支付总额, 必填
  98. /// </summary>
  99. [Column(Name = "OptinsPaySumamt", CanBeNull = false, DbType = "Decimal(16,2)")]
  100. [DisplayName("经办机构支付总额")]
  101. public decimal OptinsPaySumamt { get; set; }
  102. }
  103. }