drug.go 25KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. package models
  2. type BaseDrugLib struct {
  3. ID int64 `gorm:"column:id" json:"id" form:"id"`
  4. DrugName string `gorm:"column:drug_name" json:"drug_name" form:"drug_name"`
  5. Pinyin string `gorm:"column:pinyin" json:"pinyin" form:"pinyin"`
  6. Wubi string `gorm:"column:wubi" json:"wubi" form:"wubi"`
  7. DrugAlias string `gorm:"column:drug_alias" json:"drug_alias" form:"drug_alias"`
  8. DrugAliasPinyin string `gorm:"column:drug_alias_pinyin" json:"drug_alias_pinyin" form:"drug_alias_pinyin"`
  9. DrugAliasWubi string `gorm:"column:drug_alias_wubi" json:"drug_alias_wubi" form:"drug_alias_wubi"`
  10. DrugCategory int64 `gorm:"column:drug_category" json:"drug_category" form:"drug_category"`
  11. DrugSpec string `gorm:"column:drug_spec" json:"drug_spec" form:"drug_spec"`
  12. DrugType int64 `gorm:"column:drug_type" json:"drug_type" form:"drug_type"`
  13. DrugStockLimit string `gorm:"column:drug_stock_limit" json:"drug_stock_limit" form:"drug_stock_limit"`
  14. DrugOriginPlace string `gorm:"column:drug_origin_place" json:"drug_origin_place" form:"drug_origin_place"`
  15. DrugDosageForm int64 `gorm:"column:drug_dosage_form" json:"drug_dosage_form" form:"drug_dosage_form"`
  16. MedicalInsuranceLevel int64 `gorm:"column:medical_insurance_level" json:"medical_insurance_level" form:"medical_insurance_level"`
  17. MaxUnit string `gorm:"column:max_unit" json:"max_unit" form:"max_unit"`
  18. MinUnit string `gorm:"column:min_unit" json:"min_unit" form:"min_unit"`
  19. UnitMatrixing string `gorm:"column:unit_matrixing" json:"unit_matrixing" form:"unit_matrixing"`
  20. RetailPrice float64 `gorm:"column:retail_price" json:"retail_price" form:"retail_price"`
  21. LastPrice float64 `gorm:"column:last_price" json:"last_price" form:"last_price"`
  22. DrugControl int64 `gorm:"column:drug_control" json:"drug_control" form:"drug_control"`
  23. Number string `gorm:"column:number" json:"number" form:"number"`
  24. DrugClassify string `gorm:"column:drug_classify" json:"drug_classify" form:"drug_classify"`
  25. DrugDose float64 `gorm:"column:drug_dose" json:"drug_dose" form:"drug_dose"`
  26. DrugDoseUnit int64 `gorm:"column:drug_dose_unit" json:"drug_dose_unit" form:"drug_dose_unit"`
  27. MedicalInsuranceNumber string `gorm:"column:medical_insurance_number" json:"medical_insurance_number" form:"medical_insurance_number"`
  28. ProvincesCode string `gorm:"column:provinces_code" json:"provinces_code" form:"provinces_code"`
  29. Manufacturer int64 `gorm:"column:manufacturer" json:"manufacturer" form:"manufacturer"`
  30. PharmacologyCategory int64 `gorm:"column:pharmacology_category" json:"pharmacology_category" form:"pharmacology_category"`
  31. StatisticsCategory int64 `gorm:"column:statistics_category" json:"statistics_category" form:"statistics_category"`
  32. Code string `gorm:"column:code" json:"code" form:"code"`
  33. IsSpecialDiseases int64 `gorm:"column:is_special_diseases" json:"is_special_diseases" form:"is_special_diseases"`
  34. IsRecord int64 `gorm:"column:is_record" json:"is_record" form:"is_record"`
  35. Agent string `gorm:"column:agent" json:"agent" form:"agent"`
  36. DrugStatus string `gorm:"column:drug_status" json:"drug_status" form:"drug_status"`
  37. LimitRemark string `gorm:"column:limit_remark" json:"limit_remark" form:"limit_remark"`
  38. DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
  39. ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
  40. SingleDose float64 `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
  41. PrescribingNumber float64 `gorm:"column:prescribing_number" json:"prescribing_number" form:"prescribing_number"`
  42. Label int64 `gorm:"column:label" json:"label" form:"label"`
  43. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  44. IsUseDoctorAdvice int64 `gorm:"column:is_use_doctor_advice" json:"is_use_doctor_advice" form:"is_use_doctor_advice"`
  45. IsDefault int64 `gorm:"column:is_default" json:"is_default" form:"is_default"`
  46. IsChargePredict int64 `gorm:"column:is_charge_predict" json:"is_charge_predict" form:"is_charge_predict"`
  47. IsStatisticsWork int64 `gorm:"column:is_statistics_work" json:"is_statistics_work" form:"is_statistics_work"`
  48. IsChargeUse int64 `gorm:"column:is_charge_use" json:"is_charge_use" form:"is_charge_use"`
  49. Status int64 `gorm:"column:status" json:"status" form:"status"`
  50. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  51. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  52. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  53. DrugCode string `gorm:"column:drug_code" json:"drug_code" form:"drug_code"`
  54. PrescriptionMark int64 `gorm:"column:prescription_mark" json:"prescription_mark" form:"prescription_mark"`
  55. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  56. DrugRemark string `gorm:"column:drug_remark" json:"drug_remark" form:"drug_remark"`
  57. SocialSecurityDirectoryCode string `gorm:"column:social_security_directory_code" json:"social_security_directory_code" form:"social_security_directory_code"`
  58. DoseCode string `gorm:"column:dose_code" json:"dose_code" form:"dose_code"`
  59. IsMark int64 `gorm:"column:is_mark" json:"is_mark" form:"is_mark"`
  60. HospApprFlag int64 `gorm:"column:hosp_appr_flag" json:"hosp_appr_flag" form:"hosp_appr_flag"`
  61. LmtUsedFlag int64 `gorm:"column:lmt_used_flag" json:"lmt_used_flag" form:"lmt_used_flag"`
  62. MinNumber int64 `gorm:"column:min_number" json:"min_number" form:"min_number"`
  63. //Dose string `gorm:"column:dose" json:"dose" form:"dose"`
  64. DoseUnit string `gorm:"column:dose_unit" json:"dose_unit" form:"dose_unit"`
  65. DrugDay string `gorm:"column:drug_day" json:"drug_day" form:"drug_day"`
  66. MinPrice float64 `gorm:"column:min_price" json:"min_price" form:"min_price"`
  67. IsUser int64 `gorm:"column:is_user" json:"is_user" form:"is_user"`
  68. //MedicineInsurancePercentage []*MedicineInsurancePercentage `gorm:"ForeignKey:PatientId;AssociationForeignKey:PatientId" json:"monitoring_record"`
  69. }
  70. func (BaseDrugLib) TableName() string {
  71. return "xt_base_drug"
  72. }
  73. type DrugUnitSafeguard struct {
  74. ID int64 `gorm:"column:id" json:"id" form:"id"`
  75. Unit string `gorm:"column:unit" json:"unit" form:"unit"`
  76. ConversionFactor string `gorm:"column:conversion_factor" json:"conversion_factor" form:"conversion_factor"`
  77. IsStockUse int64 `gorm:"column:is_stock_use" json:"is_stock_use" form:"is_stock_use"`
  78. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  79. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  80. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  81. Status int64 `gorm:"column:status" json:"status" form:"status"`
  82. DrugId int64 `gorm:"column:drug_id" json:"drug_id" form:"drug_id"`
  83. }
  84. func (DrugUnitSafeguard) TableName() string {
  85. return "xt_drug_unit_safeguard"
  86. }
  87. type MedicineInsurancePercentage struct {
  88. ID int64 `gorm:"column:id" json:"id" form:"id"`
  89. MedicineInsuranceType int64 `gorm:"column:medicine_insurance_type" json:"medicine_insurance_type" form:"medicine_insurance_type"`
  90. Percent float64 `gorm:"column:percent" json:"percent" form:"percent"`
  91. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  92. Status int64 `gorm:"column:status" json:"status" form:"status"`
  93. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  94. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  95. TypeId int64 `gorm:"column:type_id" json:"drug_id" form:"type_id"`
  96. RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
  97. Module int64 `gorm:"column:module" json:"module" form:"module"`
  98. GoodId int64 `gorm:"column:good_id" json:"good_id" form:"good_id"`
  99. }
  100. func (MedicineInsurancePercentage) TableName() string {
  101. return "xt_medicine_insurance_percentage"
  102. }
  103. type BaseDrugList struct {
  104. ID int64 `gorm:"column:id" json:"id" form:"id"`
  105. DrugName string `gorm:"column:drug_name" json:"drug_name" form:"drug_name"`
  106. Pinyin string `gorm:"column:pinyin" json:"pinyin" form:"pinyin"`
  107. Wubi string `gorm:"column:wubi" json:"wubi" form:"wubi"`
  108. DrugAlias string `gorm:"column:drug_alias" json:"drug_alias" form:"drug_alias"`
  109. DrugAliasPinyin string `gorm:"column:drug_alias_pinyin" json:"drug_alias_pinyin" form:"drug_alias_pinyin"`
  110. DrugAliasWubi string `gorm:"column:drug_alias_wubi" json:"drug_alias_wubi" form:"drug_alias_wubi"`
  111. DrugCategory int64 `gorm:"column:drug_category" json:"drug_category" form:"drug_category"`
  112. DrugSpec string `gorm:"column:drug_spec" json:"drug_spec" form:"drug_spec"`
  113. DrugType int64 `gorm:"column:drug_type" json:"drug_type" form:"drug_type"`
  114. DrugStockLimit string `gorm:"column:drug_stock_limit" json:"drug_stock_limit" form:"drug_stock_limit"`
  115. DrugOriginPlace string `gorm:"column:drug_origin_place" json:"drug_origin_place" form:"drug_origin_place"`
  116. DrugDosageForm int64 `gorm:"column:drug_dosage_form" json:"drug_dosage_form" form:"drug_dosage_form"`
  117. MedicalInsuranceLevel int64 `gorm:"column:medical_insurance_level" json:"medical_insurance_level" form:"medical_insurance_level"`
  118. MaxUnit string `gorm:"column:max_unit" json:"max_unit" form:"max_unit"`
  119. MinUnit string `gorm:"column:min_unit" json:"min_unit" form:"min_unit"`
  120. UnitMatrixing string `gorm:"column:unit_matrixing" json:"unit_matrixing" form:"unit_matrixing"`
  121. RetailPrice float64 `gorm:"column:retail_price" json:"retail_price" form:"retail_price"`
  122. LastPrice float64 `gorm:"column:last_price" json:"last_price" form:"last_price"`
  123. DrugControl int64 `gorm:"column:drug_control" json:"drug_control" form:"drug_control"`
  124. Number string `gorm:"column:number" json:"number" form:"number"`
  125. DrugClassify string `gorm:"column:drug_classify" json:"drug_classify" form:"drug_classify"`
  126. DrugDose float64 `gorm:"column:drug_dose" json:"drug_dose" form:"drug_dose"`
  127. DrugDoseUnit int64 `gorm:"column:drug_dose_unit" json:"drug_dose_unit" form:"drug_dose_unit"`
  128. MedicalInsuranceNumber string `gorm:"column:medical_insurance_number" json:"medical_insurance_number" form:"medical_insurance_number"`
  129. Manufacturer int64 `gorm:"column:manufacturer" json:"manufacturer" form:"manufacturer"`
  130. PharmacologyCategory int64 `gorm:"column:pharmacology_category" json:"pharmacology_category" form:"pharmacology_category"`
  131. StatisticsCategory int64 `gorm:"column:statistics_category" json:"statistics_category" form:"statistics_category"`
  132. Code string `gorm:"column:code" json:"code" form:"code"`
  133. IsSpecialDiseases int64 `gorm:"column:is_special_diseases" json:"is_special_diseases" form:"is_special_diseases"`
  134. IsRecord int64 `gorm:"column:is_record" json:"is_record" form:"is_record"`
  135. Agent string `gorm:"column:agent" json:"agent" form:"agent"`
  136. DrugStatus string `gorm:"column:drug_status" json:"drug_status" form:"drug_status"`
  137. LimitRemark string `gorm:"column:limit_remark" json:"limit_remark" form:"limit_remark"`
  138. DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
  139. ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
  140. SingleDose float64 `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
  141. PrescribingNumber float64 `gorm:"column:prescribing_number" json:"prescribing_number" form:"prescribing_number"`
  142. Label int64 `gorm:"column:label" json:"label" form:"label"`
  143. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  144. IsUseDoctorAdvice int64 `gorm:"column:is_use_doctor_advice" json:"is_use_doctor_advice" form:"is_use_doctor_advice"`
  145. IsDefault int64 `gorm:"column:is_default" json:"is_default" form:"is_default"`
  146. IsChargePredict int64 `gorm:"column:is_charge_predict" json:"is_charge_predict" form:"is_charge_predict"`
  147. IsStatisticsWork int64 `gorm:"column:is_statistics_work" json:"is_statistics_work" form:"is_statistics_work"`
  148. IsChargeUse int64 `gorm:"column:is_charge_use" json:"is_charge_use" form:"is_charge_use"`
  149. Status int64 `gorm:"column:status" json:"status" form:"status"`
  150. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  151. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  152. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  153. DrugCode string `gorm:"column:drug_code" json:"drug_code" form:"drug_code"`
  154. Dealer int64 `gorm:"column:dealer" json:"dealer" form:"dealer"`
  155. ManufacturerName string `gorm:"column:manufacturer_name" json:"manufacturer_name" form:"manufacturer_name"`
  156. DrugDosageName string
  157. PrescriptionMark int64 `gorm:"column:prescription_mark" json:"prescription_mark" form:"prescription_mark"`
  158. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  159. DrugRemark string `gorm:"column:drug_remark" json:"drug_remark" form:"drug_remark"`
  160. SocialSecurityDirectoryCode string `gorm:"column:social_security_directory_code" json:"social_security_directory_code" form:"social_security_directory_code"`
  161. DoseCode string `gorm:"column:dose_code" json:"dose_code" form:"dose_code"`
  162. IsMark int64 `gorm:"column:is_mark" json:"is_mark" form:"is_mark"`
  163. }
  164. type XtGoodInformation struct {
  165. ID int64 `gorm:"column:id" json:"id" form:"id"`
  166. GoodCode string `gorm:"column:good_code" json:"good_code" form:"good_code"`
  167. SpecificationName string `gorm:"column:specification_name" json:"specification_name" form:"specification_name"`
  168. GoodTypeId int64 `gorm:"column:good_type_id" json:"good_type_id" form:"good_type_id"`
  169. GoodUnit int64 `gorm:"column:good_unit" json:"good_unit" form:"good_unit"`
  170. BuyPrice float64 `gorm:"column:buy_price" json:"buy_price" form:"buy_price"`
  171. SellPrice float64 `gorm:"column:sell_price" json:"sell_price" form:"sell_price"`
  172. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  173. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  174. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  175. Manufacturer int64 `gorm:"column:manufacturer" json:"manufacturer" form:"manufacturer"`
  176. Dealer int64 `gorm:"column:dealer" json:"dealer" form:"dealer"`
  177. ExpiryDateWarnDayCount int64 `gorm:"column:expiry_date_warn_day_count" json:"expiry_date_warn_day_count" form:"expiry_date_warn_day_count"`
  178. StockWarnCount int64 `gorm:"column:stock_warn_count" json:"stock_warn_count" form:"stock_warn_count"`
  179. IsReuse int64 `gorm:"column:is_reuse" json:"is_reuse" form:"is_reuse"`
  180. Status int64 `gorm:"column:status" json:"status" form:"status"`
  181. FilmArea string `gorm:"column:film_area" json:"film_area" form:"film_area"`
  182. IsUse int64 `gorm:"column:is_use" json:"is_use" form:"is_use"`
  183. FilmMaterialQuality string `gorm:"column:film_material_quality" json:"film_material_quality" form:"film_material_quality"`
  184. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  185. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  186. Creater int64 `gorm:"column:creater" json:"creater" form:"creater"`
  187. GoodName string `gorm:"column:good_name" json:"good_name" form:"good_name"`
  188. Pinyin string `gorm:"column:pinyin" json:"pinyin" form:"pinyin"`
  189. Wubi string `gorm:"column:wubi" json:"wubi" form:"wubi"`
  190. GoodKind int64 `gorm:"column:good_kind" json:"good_kind" form:"good_kind"`
  191. MedicalInsuranceLevel int64 `gorm:"column:medical_insurance_level" json:"medical_insurance_level" form:"medical_insurance_level"`
  192. RetailPrice float64 `gorm:"column:retail_price" json:"retail_price" form:"retail_price"`
  193. MedicalInsuranceNumber string `gorm:"column:medical_insurance_number" json:"medical_insurance_number" form:"medical_insurance_number"`
  194. IsSpecialDiseases int64 `gorm:"column:is_special_diseases" json:"is_special_diseases" form:"is_special_diseases"`
  195. IsRecord int64 `gorm:"column:is_record" json:"is_record" form:"is_record"`
  196. StatisticsCategory int64 `gorm:"column:statistics_category" json:"statistics_category" form:"statistics_category"`
  197. GoodStatus string `gorm:"column:good_status" json:"good_status" form:"good_status"`
  198. DefaultCount int64 `gorm:"column:default_count" json:"default_count" form:"default_count"`
  199. Sign int64 `gorm:"column:sign" json:"sign" form:"sign"`
  200. IsDefault int64 `gorm:"column:is_default" json:"is_default" form:"is_default"`
  201. IsChargeUse int64 `gorm:"column:is_charge_use" json:"is_charge_use" form:"is_charge_use"`
  202. IsChargePredict int64 `gorm:"column:is_charge_predict" json:"is_charge_predict" form:"is_charge_predict"`
  203. IsStatisticsWork int64 `gorm:"column:is_statistics_work" json:"is_statistics_work" form:"is_statistics_work"`
  204. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  205. IsDoctorUse int64 `gorm:"column:is_doctor_use" json:"is_doctor_use" form:"is_doctor_use"`
  206. Agent string `gorm:"column:agent" json:"agent" form:"agent"`
  207. GoodNumber string `gorm:"column:good_number" json:"good_number" form:"good_number"`
  208. CommdityCode string `gorm:"column:commdity_code" json:"commdity_code" form:"commdity_code"`
  209. SocialSecurityDirectoryCode string `gorm:"column:social_security_directory_code" json:"social_security_directory_code" form:"social_security_directory_code"`
  210. ProductionType string `gorm:"column:production_type" json:"production_type" form:"production_type"`
  211. SpecialMedical string `gorm:"column:special_medical" json:"special_medical" form:"special_medical"`
  212. ManufacturerName string `gorm:"column:manufacturer_name" json:"manufacturer_name" form:"manufacturer_name"`
  213. }
  214. type GoodInformation struct {
  215. ID int64 `gorm:"column:id" json:"id" form:"id"`
  216. GoodCode string `gorm:"column:good_code" json:"good_code" form:"good_code"`
  217. SpecificationName string `gorm:"column:specification_name" json:"specification_name" form:"specification_name"`
  218. GoodTypeId int64 `gorm:"column:good_type_id" json:"good_type_id" form:"good_type_id"`
  219. GoodUnit int64 `gorm:"column:good_unit" json:"good_unit" form:"good_unit"`
  220. BuyPrice float64 `gorm:"column:buy_price" json:"buy_price" form:"buy_price"`
  221. SellPrice float64 `gorm:"column:sell_price" json:"sell_price" form:"sell_price"`
  222. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  223. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  224. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  225. Manufacturer int64 `gorm:"column:manufacturer" json:"manufacturer" form:"manufacturer"`
  226. Dealer int64 `gorm:"column:dealer" json:"dealer" form:"dealer"`
  227. ExpiryDateWarnDayCount int64 `gorm:"column:expiry_date_warn_day_count" json:"expiry_date_warn_day_count" form:"expiry_date_warn_day_count"`
  228. StockWarnCount int64 `gorm:"column:stock_warn_count" json:"stock_warn_count" form:"stock_warn_count"`
  229. IsReuse int64 `gorm:"column:is_reuse" json:"is_reuse" form:"is_reuse"`
  230. Status int64 `gorm:"column:status" json:"status" form:"status"`
  231. FilmArea string `gorm:"column:film_area" json:"film_area" form:"film_area"`
  232. IsUse int64 `gorm:"column:is_use" json:"is_use" form:"is_use"`
  233. FilmMaterialQuality string `gorm:"column:film_material_quality" json:"film_material_quality" form:"film_material_quality"`
  234. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  235. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  236. Creater int64 `gorm:"column:creater" json:"creater" form:"creater"`
  237. GoodName string `gorm:"column:good_name" json:"good_name" form:"good_name"`
  238. Pinyin string `gorm:"column:pinyin" json:"pinyin" form:"pinyin"`
  239. Wubi string `gorm:"column:wubi" json:"wubi" form:"wubi"`
  240. GoodKind int64 `gorm:"column:good_kind" json:"good_kind" form:"good_kind"`
  241. MedicalInsuranceLevel int64 `gorm:"column:medical_insurance_level" json:"medical_insurance_level" form:"medical_insurance_level"`
  242. RetailPrice float64 `gorm:"column:retail_price" json:"retail_price" form:"retail_price"`
  243. MedicalInsuranceNumber string `gorm:"column:medical_insurance_number" json:"medical_insurance_number" form:"medical_insurance_number"`
  244. IsSpecialDiseases int64 `gorm:"column:is_special_diseases" json:"is_special_diseases" form:"is_special_diseases"`
  245. IsRecord int64 `gorm:"column:is_record" json:"is_record" form:"is_record"`
  246. StatisticsCategory int64 `gorm:"column:statistics_category" json:"statistics_category" form:"statistics_category"`
  247. GoodStatus string `gorm:"column:good_status" json:"good_status" form:"good_status"`
  248. DefaultCount int64 `gorm:"column:default_count" json:"default_count" form:"default_count"`
  249. Sign int64 `gorm:"column:sign" json:"sign" form:"sign"`
  250. IsDefault int64 `gorm:"column:is_default" json:"is_default" form:"is_default"`
  251. IsChargeUse int64 `gorm:"column:is_charge_use" json:"is_charge_use" form:"is_charge_use"`
  252. IsChargePredict int64 `gorm:"column:is_charge_predict" json:"is_charge_predict" form:"is_charge_predict"`
  253. IsStatisticsWork int64 `gorm:"column:is_statistics_work" json:"is_statistics_work" form:"is_statistics_work"`
  254. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  255. IsDoctorUse int64 `gorm:"column:is_doctor_use" json:"is_doctor_use" form:"is_doctor_use"`
  256. Agent string `gorm:"column:agent" json:"agent" form:"agent"`
  257. GoodNumber string `gorm:"column:good_number" json:"good_number" form:"good_number"`
  258. CommdityCode string `gorm:"column:commdity_code" json:"commdity_code" form:"commdity_code"`
  259. SocialSecurityDirectoryCode string `gorm:"column:social_security_directory_code" json:"social_security_directory_code" form:"social_security_directory_code"`
  260. ProductionType string `gorm:"column:production_type" json:"production_type" form:"production_type"`
  261. SpecialMedical string `gorm:"column:special_medical" json:"special_medical" form:"special_medical"`
  262. ManufacturerName string `gorm:"column:manufacturer_name" json:"manufacturer_name" form:"manufacturer_name"`
  263. }