QueryFixedPointRecordLocal.cs 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. using System;
  2. using System.ComponentModel.DataAnnotations;
  3. using System.ComponentModel;
  4. using System.Data.Linq;
  5. using System.Data.Linq.Mapping;
  6. namespace PTMedicalInsurance.Entity.Base.Settlement.Record
  7. {
  8. class QueryFixedPointRecordLocalInput : EntityBase
  9. {
  10. /// <summary>
  11. /// 人员编号
  12. /// </summary>
  13. [Column(Name = "psn_no", DbType = "VarChar(30)", CanBeNull = false)]
  14. [StringLength(30)]
  15. [DisplayName("人员编号")]
  16. public string psn_no { get; set; }
  17. /// <summary>
  18. /// 业务申请类型
  19. /// </summary>
  20. [Column(Name = "biz_appy_type", DbType = "VarChar(3)", CanBeNull = false)]
  21. [StringLength(3)]
  22. [DisplayName("业务申请类型")]
  23. public string biz_appy_type { get; set; }
  24. }
  25. class QueryFixedPointRecordLocalOutput : EntityBase
  26. {
  27. /// <summary>
  28. /// 人员编号
  29. /// </summary>
  30. [Column(Name = "psn_no", DbType = "VarChar(30)", CanBeNull = false)]
  31. [StringLength(30)]
  32. [DisplayName("人员编号")]
  33. public string psn_no { get; set; }
  34. /// <summary>
  35. /// 险种类型
  36. /// </summary>
  37. [Column(Name = "insutype", DbType = "VarChar(6)", CanBeNull = false)]
  38. [StringLength(6)]
  39. [DisplayName("险种类型")]
  40. public string insutype { get; set; }
  41. /// <summary>
  42. /// 定点排序号
  43. /// </summary>
  44. [Column(Name = "fix_srt_no", DbType = "VarChar(3)", CanBeNull = false)]
  45. [StringLength(3)]
  46. [DisplayName("定点排序号")]
  47. public string fix_srt_no { get; set; }
  48. /// <summary>
  49. /// 定点医药机构编号
  50. /// </summary>
  51. [Column(Name = "fixmedins_code", DbType = "VarChar(12)", CanBeNull = false)]
  52. [StringLength(12)]
  53. [DisplayName("定点医药机构编号")]
  54. public string fixmedins_code { get; set; }
  55. /// <summary>
  56. /// 定点医药机构名称
  57. /// </summary>
  58. [Column(Name = "fixmedins_name", DbType = "VarChar(200)", CanBeNull = false)]
  59. [StringLength(200)]
  60. [DisplayName("定点医药机构名称")]
  61. public string fixmedins_name { get; set; }
  62. /// <summary>
  63. /// 开始日期
  64. /// </summary>
  65. [Column(Name = "begndate", DbType = "Date", CanBeNull = false)]
  66. [DisplayName("开始日期 (yyyy-MM-dd)")]
  67. public DateTime begndate { get; set; }
  68. /// <summary>
  69. /// 结束日期
  70. /// </summary>
  71. [Column(Name = "enddate", DbType = "Date", CanBeNull = true)]
  72. [DisplayName("结束日期 (yyyy-MM-dd)")]
  73. public DateTime? enddate { get; set; }
  74. /// <summary>
  75. /// 备注
  76. /// </summary>
  77. [Column(Name = "memo", DbType = "VarChar(500)", CanBeNull = true)]
  78. [StringLength(500)]
  79. [DisplayName("备注")]
  80. public string memo { get; set; }
  81. /// <summary>
  82. /// 就医点类型
  83. /// </summary>
  84. [Column(Name = "fix_local_type", DbType = "VarChar(6)", CanBeNull = false)]
  85. [StringLength(6)]
  86. [DisplayName("就医点类型")]
  87. public string fix_local_type { get; set; }
  88. /// <summary>
  89. /// 主辅标志
  90. /// </summary>
  91. [Column(Name = "fix_main_scd_flag", DbType = "VarChar(6)", CanBeNull = false)]
  92. [StringLength(6)]
  93. [DisplayName("主辅标志")]
  94. public string fix_main_scd_flag { get; set; }
  95. /// <summary>
  96. /// 业务申请类型
  97. /// </summary>
  98. [Column(Name = "biz_appy_type", DbType = "VarChar(3)", CanBeNull = false)]
  99. [StringLength(3)]
  100. [DisplayName("业务申请类型")]
  101. public string biz_appy_type { get; set; }
  102. /// <summary>
  103. /// 待遇申报明细流水号
  104. /// </summary>
  105. [Column(Name = "trt_dcla_detl_sn", DbType = "VarChar(30)", CanBeNull = false)]
  106. [StringLength(30)]
  107. [DisplayName("待遇申报明细流水号")]
  108. public string trt_dcla_detl_sn { get; set; }
  109. /// <summary>
  110. /// 基层医疗机构
  111. /// </summary>
  112. [Column(Name = "grst_hosp_flag", DbType = "VarChar(3)", CanBeNull = true)]
  113. [StringLength(3)]
  114. [DisplayName("基层医疗机构")]
  115. public string grst_hosp_flag { get; set; }
  116. }
  117. [DisplayName("扩展数据")]
  118. public class ExtDataEntity
  119. {
  120. /// <summary>
  121. /// 年度定点变更次数
  122. /// </summary>
  123. [Column(Name = "year_fix_chg_cnt", DbType = "Integer", CanBeNull = true)]
  124. [DisplayName("年度定点变更次数")]
  125. public int? year_fix_chg_cnt { get; set; }
  126. }
  127. }