drug.go 24KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  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. MinNumber int64 `gorm:"column:min_number" json:"min_number" form:"min_number"`
  19. MinUnit string `gorm:"column:min_unit" json:"min_unit" form:"min_unit"`
  20. Dose string `gorm:"column:dose" json:"dose" form:"dose"`
  21. DoseUnit string `gorm:"column:dose_unit" json:"dose_unit" form:"dose_unit"`
  22. MinPrice float64 `gorm:"column:min_price" json:"min_price" form:"min_price"`
  23. UnitMatrixing string `gorm:"column:unit_matrixing" json:"unit_matrixing" form:"unit_matrixing"`
  24. RetailPrice float64 `gorm:"column:retail_price" json:"retail_price" form:"retail_price"`
  25. LastPrice float64 `gorm:"column:last_price" json:"last_price" form:"last_price"`
  26. DrugControl int64 `gorm:"column:drug_control" json:"drug_control" form:"drug_control"`
  27. Number string `gorm:"column:number" json:"number" form:"number"`
  28. DrugClassify string `gorm:"column:drug_classify" json:"drug_classify" form:"drug_classify"`
  29. DrugDose float64 `gorm:"column:drug_dose" json:"drug_dose" form:"drug_dose"`
  30. DrugDoseUnit int64 `gorm:"column:drug_dose_unit" json:"drug_dose_unit" form:"drug_dose_unit"`
  31. MedicalInsuranceNumber string `gorm:"column:medical_insurance_number" json:"medical_insurance_number" form:"medical_insurance_number"`
  32. ProvincesCode string `gorm:"column:provinces_code" json:"provinces_code" form:"provinces_code"`
  33. Manufacturer int64 `gorm:"column:manufacturer" json:"manufacturer" form:"manufacturer"`
  34. PharmacologyCategory int64 `gorm:"column:pharmacology_category" json:"pharmacology_category" form:"pharmacology_category"`
  35. StatisticsCategory int64 `gorm:"column:statistics_category" json:"statistics_category" form:"statistics_category"`
  36. Code string `gorm:"column:code" json:"code" form:"code"`
  37. IsSpecialDiseases int64 `gorm:"column:is_special_diseases" json:"is_special_diseases" form:"is_special_diseases"`
  38. IsRecord int64 `gorm:"column:is_record" json:"is_record" form:"is_record"`
  39. Agent string `gorm:"column:agent" json:"agent" form:"agent"`
  40. DrugStatus string `gorm:"column:drug_status" json:"drug_status" form:"drug_status"`
  41. LimitRemark string `gorm:"column:limit_remark" json:"limit_remark" form:"limit_remark"`
  42. DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
  43. ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
  44. SingleDose float64 `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
  45. PrescribingNumber float64 `gorm:"column:prescribing_number" json:"prescribing_number" form:"prescribing_number"`
  46. Label int64 `gorm:"column:label" json:"label" form:"label"`
  47. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  48. IsUseDoctorAdvice int64 `gorm:"column:is_use_doctor_advice" json:"is_use_doctor_advice" form:"is_use_doctor_advice"`
  49. IsDefault int64 `gorm:"column:is_default" json:"is_default" form:"is_default"`
  50. IsChargePredict int64 `gorm:"column:is_charge_predict" json:"is_charge_predict" form:"is_charge_predict"`
  51. IsStatisticsWork int64 `gorm:"column:is_statistics_work" json:"is_statistics_work" form:"is_statistics_work"`
  52. IsChargeUse int64 `gorm:"column:is_charge_use" json:"is_charge_use" form:"is_charge_use"`
  53. Status int64 `gorm:"column:status" json:"status" form:"status"`
  54. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  55. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  56. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  57. DrugCode string `gorm:"column:drug_code" json:"drug_code" form:"drug_code"`
  58. Dealer int64 `gorm:"column:dealer" json:"dealer" form:"dealer"`
  59. PrescriptionMark int64 `gorm:"column:prescription_mark" json:"prescription_mark" form:"prescription_mark"`
  60. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  61. DrugRemark string `gorm:"column:drug_remark" json:"drug_remark" form:"drug_remark"`
  62. SocialSecurityDirectoryCode string `gorm:"column:social_security_directory_code" json:"social_security_directory_code" form:"social_security_directory_code"`
  63. DoseCode string `gorm:"column:dose_code" json:"dose_code" form:"dose_code"`
  64. IsMark int64 `gorm:"column:is_mark" json:"is_mark" form:"is_mark"`
  65. HospApprFlag int64 `gorm:"column:hosp_appr_flag" json:"hosp_appr_flag" form:"hosp_appr_flag"`
  66. LmtUsedFlag int64 `gorm:"column:lmt_used_flag" json:"lmt_used_flag" form:"lmt_used_flag"`
  67. DrugDay string `gorm:"column:drug_day" json:"drug_day" form:"drug_day"`
  68. Total float64 `gorm:"column:total" json:"total" form:"total"`
  69. PrescribingNumberUnit string `gorm:"column:prescribing_number_unit" json:"prescribing_number_unit" form:"prescribing_number_unit"`
  70. DrugWarehouseInfo []*XtDrugWarehouseInfo `gorm:"ForeignKey:DrugId;AssociationForeignKey:ID" json:"drug_warehouse_info"`
  71. LastDrugWarehouseInfo XtDrugWarehouseInfo `gorm:"ForeignKey:DrugId;AssociationForeignKey:ID" json:"first_drug_warehouse_info"`
  72. IsUse int64 `gorm:"column:is_user" json:"is_user" form:"is_user"`
  73. BatchRetaiPrice float64 `gorm:"column:batch_retai_price" json:"batch_retai_price" form:"batch_retai_price"`
  74. SumCount int64 `gorm:"column:sum_count" json:"sum_count" form:"sum_count"`
  75. SumInCount int64 `gorm:"column:sum_in_count" json:"sum_in_count" form:"sum_in_count"`
  76. IsPharmacy int64 `gorm:"column:is_pharmacy" json:"is_pharmacy" form:"is_pharmacy"`
  77. TotalCount int64 `gorm:"column:total_count" json:"total_count" form:"total_count"`
  78. DrugStockLimitCount int64 `gorm:"column:drug_stock_limit_count" json:"drug_stock_limit_count" form:"drug_stock_limit_count"`
  79. SumOutCount int64 `gorm:"column:sum_out_count" json:"sum_out_count" form:"sum_out_count"`
  80. SumCancelCount int64 `gorm:"column:sum_cancel_count" json:"sum_cancel_count" form:"sum_cancel_count"`
  81. ZuobiaoId string `gorm:"column:zuobiao_id" json:"zuobiao_id" form:"zuobiao_id"`
  82. Bck01b string `gorm:"column:bck01b" json:"bck01b" form:"bck01b"`
  83. Bby01 string `gorm:"column:bby01" json:"bby01" form:"bby01"`
  84. Bbx01 string `gorm:"column:bbx01" json:"bbx01" form:"bbx01"`
  85. FirstLetter string `gorm:"column:first_letter" json:"first_letter" form:"first_letter"`
  86. IsProject int64 `gorm:"column:is_project" json:"is_project" form:"is_project"`
  87. }
  88. func (BaseDrugLib) TableName() string {
  89. return "xt_base_drug"
  90. }
  91. type BaseDrugLibSeven struct {
  92. ID int64 `gorm:"column:id" json:"id" form:"id"`
  93. DrugName string `gorm:"column:drug_name" json:"drug_name" form:"drug_name"`
  94. MaxUnit string `gorm:"column:max_unit" json:"max_unit" form:"max_unit"`
  95. MinNumber int64 `gorm:"column:min_number" json:"min_number" form:"min_number"`
  96. MinUnit string `gorm:"column:min_unit" json:"min_unit" form:"min_unit"`
  97. SumCount int64 `gorm:"column:sum_count" json:"sum_count" form:"sum_count"`
  98. IsUse int64 `gorm:"column:is_user" json:"is_user" form:"is_user"`
  99. IsPharmacy int64 `gorm:"column:is_pharmacy" json:"is_pharmacy" form:"is_pharmacy"`
  100. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  101. IsProject int64 `gorm:"column:is_project" json:"is_project" form:"is_project"`
  102. }
  103. func (BaseDrugLibSeven) TableName() string {
  104. return "xt_base_drug"
  105. }
  106. type BaseDrugLibEleven struct {
  107. ID int64 `gorm:"column:id" json:"id" form:"id"`
  108. DrugName string `gorm:"column:drug_name" json:"drug_name" form:"drug_name"`
  109. Manufacturer int64 `gorm:"column:manufacturer" json:"manufacturer" form:"manufacturer"`
  110. ManufacturerName string `gorm:"column:manufacturer_name" json:"manufacturer_name"`
  111. MaxUnit string `gorm:"column:max_unit" json:"max_unit" form:"max_unit"`
  112. MinNumber int64 `gorm:"column:min_number" json:"min_number" form:"min_number"`
  113. MinUnit string `gorm:"column:min_unit" json:"min_unit" form:"min_unit"`
  114. Dose string `gorm:"column:dose" json:"dose" form:"dose"`
  115. DoseUnit string `gorm:"column:dose_unit" json:"dose_unit" form:"dose_unit"`
  116. }
  117. func (BaseDrugLibEleven) TableName() string {
  118. return "xt_base_drug"
  119. }
  120. type BaseDrugLibTen struct {
  121. ID int64 `gorm:"column:id" json:"id" form:"id"`
  122. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  123. TotalCount int64 `gorm:"column:total_count" json:"total_count" form:"total_count"`
  124. DrugStockLimitCount int64 `gorm:"column:drug_stock_limit_count" json:"drug_stock_limit_count" form:"drug_stock_limit_count"`
  125. Status int64 `gorm:"column:status" json:"status" form:"status"`
  126. }
  127. func (BaseDrugLibTen) TableName() string {
  128. return "xt_base_drug"
  129. }
  130. type DrugUnitSafeguard struct {
  131. ID int64 `gorm:"column:id" json:"id" form:"id"`
  132. Unit string `gorm:"column:unit" json:"unit" form:"unit"`
  133. ConversionFactor string `gorm:"column:conversion_factor" json:"conversion_factor" form:"conversion_factor"`
  134. IsStockUse int64 `gorm:"column:is_stock_use" json:"is_stock_use" form:"is_stock_use"`
  135. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  136. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  137. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  138. Status int64 `gorm:"column:status" json:"status" form:"status"`
  139. DrugId int64 `gorm:"column:drug_id" json:"drug_id" form:"drug_id"`
  140. }
  141. func (DrugUnitSafeguard) TableName() string {
  142. return "xt_drug_unit_safeguard"
  143. }
  144. type MedicineInsurancePercentage struct {
  145. ID int64 `gorm:"column:id" json:"id" form:"id"`
  146. MedicineInsuranceType int64 `gorm:"column:medicine_insurance_type" json:"medicine_insurance_type" form:"medicine_insurance_type"`
  147. Percent float64 `gorm:"column:percent" json:"percent" form:"percent"`
  148. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  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. TypeId int64 `gorm:"column:type_id" json:"drug_id" form:"type_id"`
  153. RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
  154. Module int64 `gorm:"column:module" json:"module" form:"module"`
  155. GoodId int64 `gorm:"column:good_id" json:"good_id" form:"good_id"`
  156. }
  157. func (MedicineInsurancePercentage) TableName() string {
  158. return "xt_medicine_insurance_percentage"
  159. }
  160. type BaseDrugLibNight struct {
  161. ID int64 `gorm:"column:id" json:"id" form:"id"`
  162. DrugName string `gorm:"column:drug_name" json:"drug_name" form:"drug_name"`
  163. Pinyin string `gorm:"column:pinyin" json:"pinyin" form:"pinyin"`
  164. Wubi string `gorm:"column:wubi" json:"wubi" form:"wubi"`
  165. DrugAlias string `gorm:"column:drug_alias" json:"drug_alias" form:"drug_alias"`
  166. DrugAliasPinyin string `gorm:"column:drug_alias_pinyin" json:"drug_alias_pinyin" form:"drug_alias_pinyin"`
  167. DrugAliasWubi string `gorm:"column:drug_alias_wubi" json:"drug_alias_wubi" form:"drug_alias_wubi"`
  168. DrugCategory int64 `gorm:"column:drug_category" json:"drug_category" form:"drug_category"`
  169. DrugSpec string `gorm:"column:drug_spec" json:"drug_spec" form:"drug_spec"`
  170. DrugType int64 `gorm:"column:drug_type" json:"drug_type" form:"drug_type"`
  171. DrugStockLimit string `gorm:"column:drug_stock_limit" json:"drug_stock_limit" form:"drug_stock_limit"`
  172. DrugOriginPlace string `gorm:"column:drug_origin_place" json:"drug_origin_place" form:"drug_origin_place"`
  173. DrugDosageForm int64 `gorm:"column:drug_dosage_form" json:"drug_dosage_form" form:"drug_dosage_form"`
  174. MedicalInsuranceLevel int64 `gorm:"column:medical_insurance_level" json:"medical_insurance_level" form:"medical_insurance_level"`
  175. MaxUnit string `gorm:"column:max_unit" json:"max_unit" form:"max_unit"`
  176. MinNumber int64 `gorm:"column:min_number" json:"min_number" form:"min_number"`
  177. MinUnit string `gorm:"column:min_unit" json:"min_unit" form:"min_unit"`
  178. Dose string `gorm:"column:dose" json:"dose" form:"dose"`
  179. DoseUnit string `gorm:"column:dose_unit" json:"dose_unit" form:"dose_unit"`
  180. MinPrice float64 `gorm:"column:min_price" json:"min_price" form:"min_price"`
  181. UnitMatrixing string `gorm:"column:unit_matrixing" json:"unit_matrixing" form:"unit_matrixing"`
  182. RetailPrice float64 `gorm:"column:retail_price" json:"retail_price" form:"retail_price"`
  183. LastPrice float64 `gorm:"column:last_price" json:"last_price" form:"last_price"`
  184. DrugControl int64 `gorm:"column:drug_control" json:"drug_control" form:"drug_control"`
  185. Number string `gorm:"column:number" json:"number" form:"number"`
  186. DrugClassify string `gorm:"column:drug_classify" json:"drug_classify" form:"drug_classify"`
  187. DrugDose float64 `gorm:"column:drug_dose" json:"drug_dose" form:"drug_dose"`
  188. DrugDoseUnit int64 `gorm:"column:drug_dose_unit" json:"drug_dose_unit" form:"drug_dose_unit"`
  189. MedicalInsuranceNumber string `gorm:"column:medical_insurance_number" json:"medical_insurance_number" form:"medical_insurance_number"`
  190. ProvincesCode string `gorm:"column:provinces_code" json:"provinces_code" form:"provinces_code"`
  191. Manufacturer int64 `gorm:"column:manufacturer" json:"manufacturer" form:"manufacturer"`
  192. PharmacologyCategory int64 `gorm:"column:pharmacology_category" json:"pharmacology_category" form:"pharmacology_category"`
  193. StatisticsCategory int64 `gorm:"column:statistics_category" json:"statistics_category" form:"statistics_category"`
  194. Code string `gorm:"column:code" json:"code" form:"code"`
  195. IsSpecialDiseases int64 `gorm:"column:is_special_diseases" json:"is_special_diseases" form:"is_special_diseases"`
  196. IsRecord int64 `gorm:"column:is_record" json:"is_record" form:"is_record"`
  197. Agent string `gorm:"column:agent" json:"agent" form:"agent"`
  198. DrugStatus string `gorm:"column:drug_status" json:"drug_status" form:"drug_status"`
  199. LimitRemark string `gorm:"column:limit_remark" json:"limit_remark" form:"limit_remark"`
  200. DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
  201. ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
  202. SingleDose float64 `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
  203. PrescribingNumber float64 `gorm:"column:prescribing_number" json:"prescribing_number" form:"prescribing_number"`
  204. Label int64 `gorm:"column:label" json:"label" form:"label"`
  205. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  206. IsUseDoctorAdvice int64 `gorm:"column:is_use_doctor_advice" json:"is_use_doctor_advice" form:"is_use_doctor_advice"`
  207. IsDefault int64 `gorm:"column:is_default" json:"is_default" form:"is_default"`
  208. IsChargePredict int64 `gorm:"column:is_charge_predict" json:"is_charge_predict" form:"is_charge_predict"`
  209. IsStatisticsWork int64 `gorm:"column:is_statistics_work" json:"is_statistics_work" form:"is_statistics_work"`
  210. IsChargeUse int64 `gorm:"column:is_charge_use" json:"is_charge_use" form:"is_charge_use"`
  211. Status int64 `gorm:"column:status" json:"status" form:"status"`
  212. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  213. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  214. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  215. DrugCode string `gorm:"column:drug_code" json:"drug_code" form:"drug_code"`
  216. Dealer int64 `gorm:"column:dealer" json:"dealer" form:"dealer"`
  217. PrescriptionMark int64 `gorm:"column:prescription_mark" json:"prescription_mark" form:"prescription_mark"`
  218. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  219. DrugRemark string `gorm:"column:drug_remark" json:"drug_remark" form:"drug_remark"`
  220. SocialSecurityDirectoryCode string `gorm:"column:social_security_directory_code" json:"social_security_directory_code" form:"social_security_directory_code"`
  221. DoseCode string `gorm:"column:dose_code" json:"dose_code" form:"dose_code"`
  222. IsMark int64 `gorm:"column:is_mark" json:"is_mark" form:"is_mark"`
  223. HospApprFlag int64 `gorm:"column:hosp_appr_flag" json:"hosp_appr_flag" form:"hosp_appr_flag"`
  224. LmtUsedFlag int64 `gorm:"column:lmt_used_flag" json:"lmt_used_flag" form:"lmt_used_flag"`
  225. DrugDay string `gorm:"column:drug_day" json:"drug_day" form:"drug_day"`
  226. Total float64 `gorm:"column:total" json:"total" form:"total"`
  227. PrescribingNumberUnit string `gorm:"column:prescribing_number_unit" json:"prescribing_number_unit" form:"prescribing_number_unit"`
  228. DrugWarehouseInfo []*XtDrugWarehouseInfo `gorm:"ForeignKey:DrugId;AssociationForeignKey:ID" json:"drug_warehouse_info"`
  229. XtDrugWarehouseInfo []*XtDrugWarehouseInfo `gorm:"ForeignKey:DrugId;AssociationForeignKey:ID" json:"drug_warehouse_info"`
  230. DrugWarehouseOutInfo []*DrugWarehouseOutInfo `gorm:"ForeignKey:DrugId;AssociationForeignKey:ID" json:"drug_warehouse_out"`
  231. DrugCancelStockInfo []*DrugCancelStockInfo `gorm:"ForeignKey:DrugId;AssociationForeignKey:ID" json:"drug_cancel_info"`
  232. IsUse int64 `gorm:"column:is_user" json:"is_user" form:"is_user"`
  233. BatchRetaiPrice float64 `gorm:"column:batch_retai_price" json:"batch_retai_price" form:"batch_retai_price"`
  234. SumCount int64 `gorm:"column:sum_count" json:"sum_count" form:"sum_count"`
  235. SumInCount int64 `gorm:"column:sum_in_count" json:"sum_in_count" form:"sum_in_count"`
  236. IsPharmacy int64 `gorm:"column:is_pharmacy" json:"is_pharmacy" form:"is_pharmacy"`
  237. }
  238. func (BaseDrugLibNight) TableName() string {
  239. return "xt_base_drug"
  240. }
  241. type BaseDrugLibTwenty struct {
  242. ID int64 `gorm:"column:id" json:"id" form:"id"`
  243. DrugName string `gorm:"column:drug_name" json:"drug_name" form:"drug_name"`
  244. Status int64 `gorm:"column:status" json:"status" form:"status"`
  245. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  246. MaxUnit string `gorm:"column:max_unit" json:"max_unit" form:"max_unit"`
  247. MinNumber int64 `gorm:"column:min_number" json:"min_number" form:"min_number"`
  248. MinUnit string `gorm:"column:min_unit" json:"min_unit" form:"min_unit"`
  249. Dose string `gorm:"column:dose" json:"dose" form:"dose"`
  250. DoseUnit string `gorm:"column:dose_unit" json:"dose_unit" form:"dose_unit"`
  251. DrugStatus string `gorm:"column:drug_status" json:"drug_status" form:"drug_status"`
  252. DrugStockLimit string `gorm:"column:drug_stock_limit" json:"drug_stock_limit_count" form:"drug_stock_limit"`
  253. }
  254. func (BaseDrugLibTwenty) TableName() string {
  255. return "xt_base_drug"
  256. }