models_3501.go 13KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  1. package models
  2. type Struct3501 struct {
  3. MedListCodg string
  4. FixmedinsHilistId string
  5. FixmedinsHilistName string
  6. RxFlag string
  7. Invdate string
  8. InvCnt string
  9. ManuLotnum string
  10. FixmedinsBchno string
  11. ManuDate string
  12. ExpyEnd string
  13. Memo string
  14. OrgName string
  15. Opter string
  16. SecretKey string
  17. FixmedinsCode string
  18. InsuplcAdmdvs string
  19. MdtrtareaAdmvs string
  20. RequestUrl string
  21. AccessKey string
  22. Cainfo string
  23. Aprvno string
  24. SplerName string
  25. ProdentpName string
  26. PurcRetnCnt string
  27. PurcRetnStoinTime string
  28. PurcRetnOpterName string
  29. }
  30. type Struct3502 struct {
  31. MedListCodg string
  32. InvChgType string
  33. FixmedinsHilistId string
  34. FixmedinsHilistName string
  35. FixmedinsBchno string
  36. Pric string
  37. Cnt string
  38. RxFlag string
  39. InvChgTime string
  40. Invdate string
  41. InvCnt string
  42. ManuLotnum string
  43. ManuDate string
  44. ExpyEnd string
  45. Memo string
  46. OrgName string
  47. Opter string
  48. SecretKey string
  49. FixmedinsCode string
  50. InsuplcAdmdvs string
  51. MdtrtareaAdmvs string
  52. RequestUrl string
  53. AccessKey string
  54. Cainfo string
  55. }
  56. type Struct3503 struct {
  57. MedListCodg string
  58. FixmedinsHilistId string
  59. FixmedinsHilistName string
  60. DyntNo string
  61. FixmedinsBchno string
  62. SplerName string
  63. SplerPmtno string
  64. ManuLotnum string
  65. ProdentpName string
  66. Aprvno string
  67. ManuDate string
  68. ExpyEnd string
  69. FinlTrnsPric string
  70. PurcRetnCnt string
  71. PurcInvoCodg string
  72. PurcInvoNo string
  73. RxFlag string
  74. PurcRetnStoinTime string
  75. PurcRetnOpterName string
  76. ProdGeayFlag string
  77. Memo string
  78. OrgName string
  79. Opter string
  80. SecretKey string
  81. FixmedinsCode string
  82. InsuplcAdmdvs string
  83. MdtrtareaAdmvs string
  84. RequestUrl string
  85. AccessKey string
  86. Cainfo string
  87. }
  88. type Struct3504 struct {
  89. MedListCodg string
  90. FixmedinsHilistId string
  91. FixmedinsHilistName string
  92. FixmedinsBchno string
  93. SplerName string
  94. SplerPmtno string
  95. ManuDate string
  96. ExpyEnd string
  97. FinlTrnsPric string
  98. PurcRetnCnt string
  99. PurcInvoCodg string
  100. PurcInvoNo string
  101. RxFlag string
  102. PurcRetnStoin string
  103. PurcRetnStoinTime string
  104. PurcRetnOpterName string
  105. Memo string
  106. OrgName string
  107. Opter string
  108. SecretKey string
  109. FixmedinsCode string
  110. InsuplcAdmdvs string
  111. MdtrtareaAdmvs string
  112. RequestUrl string
  113. AccessKey string
  114. Cainfo string
  115. }
  116. type Struct3505 struct {
  117. MedListCodg string
  118. FixmedinsHilistId string
  119. FixmedinsHilistName string
  120. FixmedinsBchno string
  121. PrscDrCertType string
  122. PrscDrCertno string
  123. PrscDrName string
  124. PharCertType string
  125. PharCertno string
  126. PharName string
  127. PharPracCertNo string
  128. HiFeesetlType string
  129. SetlId string
  130. MdtrtSn string
  131. PsnNo string
  132. PsnCertType string
  133. CertNo string
  134. PsnName string
  135. ManuLotnum string
  136. ManuDate string
  137. ExpyEnd string
  138. RxFlag string
  139. TrdnFlag string
  140. FinlTrnsPric string
  141. Rxno string
  142. RxCircFlag string
  143. RtalDocno string
  144. StooutNo string
  145. Bchno string
  146. DrugTracCodg string
  147. DrugProdBarc string
  148. ShelfPosi string
  149. SelRetnCnt string
  150. SelRetnTime string
  151. SelRetnOpterName string
  152. Memo string
  153. OrgName string
  154. Opter string
  155. SecretKey string
  156. FixmedinsCode string
  157. InsuplcAdmdvs string
  158. MdtrtareaAdmvs string
  159. RequestUrl string
  160. AccessKey string
  161. Cainfo string
  162. MdtrtSetlType string
  163. }
  164. type Struct3506 struct {
  165. MedListCodg string
  166. FixmedinsHilistId string
  167. FixmedinsHilistName string
  168. FixmedinsBchno string
  169. SetlId string
  170. PsnNo string
  171. PsnCertType string
  172. Certno string
  173. PsnName string
  174. ManuLotnum string
  175. ManuDate string
  176. ExpyEnd string
  177. RxFlag string
  178. TrdnFlag string
  179. FinlTrnsPric string
  180. SelTrnsPric string
  181. SelRetnCnt string
  182. SelRetnTime string
  183. SelRetnOpterName string
  184. Memo string
  185. MedinsProdSelNo string
  186. OrgName string
  187. Opter string
  188. SecretKey string
  189. FixmedinsCode string
  190. InsuplcAdmdvs string
  191. MdtrtareaAdmvs string
  192. RequestUrl string
  193. AccessKey string
  194. Cainfo string
  195. MdtrtSn string
  196. }
  197. type Struct3507 struct {
  198. FixmedinsBchno string
  199. InvDataType string
  200. OrgName string
  201. Opter string
  202. SecretKey string
  203. FixmedinsCode string
  204. InsuplcAdmdvs string
  205. MdtrtareaAdmvs string
  206. RequestUrl string
  207. AccessKey string
  208. Cainfo string
  209. }
  210. type XtDrugInventory struct {
  211. ID int64 `gorm:"column:id" json:"id" form:"id"`
  212. DrugName string `gorm:"column:drug_name" json:"drug_name" form:"drug_name"`
  213. SpecificationName string `gorm:"column:specification_name" json:"specification_name" form:"specification_name"`
  214. WarehousingUnit string `gorm:"column:warehousing_unit" json:"warehousing_unit" form:"warehousing_unit"`
  215. Count int64 `gorm:"column:count" json:"count" form:"count"`
  216. LastPrice float64 `gorm:"column:last_price" json:"last_price" form:"last_price"`
  217. RetailPrice float64 `gorm:"column:retail_price" json:"retail_price" form:"retail_price"`
  218. NewPrice float64 `gorm:"column:new_price" json:"new_price" form:"new_price"`
  219. Manufacturer string `gorm:"column:manufacturer" json:"manufacturer" form:"manufacturer"`
  220. Dealer string `gorm:"column:dealer" json:"dealer" form:"dealer"`
  221. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  222. DrugId int64 `gorm:"column:drug_id" json:"drug_id" form:"drug_id"`
  223. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  224. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  225. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  226. Status int64 `gorm:"column:status" json:"status" form:"status"`
  227. WarehousingOrder string `gorm:"column:warehousing_order" json:"warehousing_order" form:"warehousing_order"`
  228. LicenseNumber string `gorm:"column:license_number" json:"license_number" form:"license_number"`
  229. StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
  230. Creater int64 `gorm:"column:creater" json:"creater" form:"creater"`
  231. Checker int64 `gorm:"column:checker" json:"checker" form:"checker"`
  232. CheckerStatus int64 `gorm:"column:checker_status" json:"checker_status" form:"checker_status"`
  233. CheckerTime int64 `gorm:"column:checker_time" json:"checker_time" form:"checker_time"`
  234. ExpiryDate int64 `gorm:"column:expiry_date" json:"expiry_date" form:"expiry_date"`
  235. ProductDate int64 `gorm:"column:product_date" json:"product_date" form:"product_date"`
  236. Number string `gorm:"column:number" json:"number" form:"number"`
  237. BatchNumber string `gorm:"column:batch_number" json:"batch_number" form:"batch_number"`
  238. Total string `gorm:"column:total" json:"total" form:"total"`
  239. DrugOriginPlace string `gorm:"column:drug_origin_place" json:"drug_origin_place" form:"drug_origin_place"`
  240. WarehouseInfoId int64 `gorm:"column:warehouse_info_id" json:"warehouse_info_id" form:"warehouse_info_id"`
  241. ProofCount int64 `gorm:"column:proof_count" json:"proof_count" form:"proof_count"`
  242. StockMaxNumber int64 `gorm:"column:stock_max_number" json:"stock_max_number" form:"stock_max_number"`
  243. StockMinNumber int64 `gorm:"column:stock_min_number" json:"stock_min_number" form:"stock_min_number"`
  244. MinCount int64 `gorm:"column:min_count" json:"min_count" form:"min_count"`
  245. MinUnit string `gorm:"column:min_unit" json:"min_unit" form:"min_unit"`
  246. LastStockMaxNumber int64 `gorm:"column:last_stock_max_number" json:"last_stock_max_number" form:"last_stock_max_number"`
  247. LastStockMinNumber int64 `gorm:"column:last_stock_min_number" json:"last_stock_min_number" form:"last_stock_min_number"`
  248. InventoryType int64 `gorm:"column:inventory_type" json:"inventory_type" form:"inventory_type"`
  249. Type int64 `gorm:"column:type" json:"type" form:"type"`
  250. StorehouseId int64 `gorm:"column:storehouse_id" json:"storehouse_id" form:"storehouse_id"`
  251. BaseDrugLib BaseDrugLib `gorm:"ForeignKey:ID;AssociationForeignKey:DrugId"json:"drug" `
  252. DrugWarehouseInfo DrugWarehouseInfo `gorm:"ForeignKey:ID;AssociationForeignKey:WarehouseInfoId"json:"drug_warehouse_info" `
  253. }
  254. func (XtDrugInventory) TableName() string {
  255. return "xt_drug_inventory"
  256. }
  257. type XtStockInventoryTwo struct {
  258. ID int64 `gorm:"column:id" json:"id" form:"id"`
  259. GoodName string `gorm:"column:good_name" json:"good_name" form:"good_name"`
  260. SpecificationName string `gorm:"column:specification_name" json:"specification_name" form:"specification_name"`
  261. WarehousingUnit string `gorm:"column:warehousing_unit" json:"warehousing_unit" form:"warehousing_unit"`
  262. Count int64 `gorm:"column:count" json:"count" form:"count"`
  263. BuyPrice float64 `gorm:"column:buy_price" json:"buy_price" form:"buy_price"`
  264. PackingPrice float64 `gorm:"column:packing_price" json:"packing_price" form:"packing_price"`
  265. NewPrice float64 `gorm:"column:new_price" json:"new_price" form:"new_price"`
  266. Manufacturer string `gorm:"column:manufacturer" json:"manufacturer" form:"manufacturer"`
  267. Dealer string `gorm:"column:dealer" json:"dealer" form:"dealer"`
  268. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  269. GoodId int64 `gorm:"column:good_id" json:"good_id" form:"good_id"`
  270. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  271. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  272. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  273. Status int64 `gorm:"column:status" json:"status" form:"status"`
  274. WarehousingOrder string `gorm:"column:warehousing_order" json:"warehousing_order" form:"warehousing_order"`
  275. LicenseNumber string `gorm:"column:license_number" json:"license_number" form:"license_number"`
  276. StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
  277. Creater int64 `gorm:"column:creater" json:"creater" form:"creater"`
  278. Checker int64 `gorm:"column:checker" json:"checker" form:"checker"`
  279. CheckerStatus int64 `gorm:"column:checker_status" json:"checker_status" form:"checker_status"`
  280. CheckerTime int64 `gorm:"column:checker_time" json:"checker_time" form:"checker_time"`
  281. Total int64 `gorm:"column:total" json:"total" form:"total"`
  282. Number string `gorm:"column:number" json:"number" form:"number"`
  283. WarehousingInfoId int64 `gorm:"column:warehousing_info_id" json:"warehousing_info_id" form:"warehousing_info_id"`
  284. ExpireDate int64 `gorm:"column:expire_date" json:"expire_date" form:"expire_date"`
  285. ProductDate int64 `gorm:"column:product_date" json:"product_date" form:"product_date"`
  286. GoodOriginPlace string `gorm:"column:good_origin_place" json:"good_origin_place" form:"good_origin_place"`
  287. Type int64 `gorm:"column:type" json:"type" form:"type"`
  288. InventoryType int64 `gorm:"column:inventory_type" json:"inventory_type" form:"inventory_type"`
  289. LastStockCount int64 `gorm:"column:last_stock_count" json:"last_stock_count" form:"last_stock_count"`
  290. StockCount int64 `gorm:"column:stock_count" json:"stock_count" form:"stock_count"`
  291. StorehouseId int64 `gorm:"column:storehouse_id" json:"storehouse_id" form:"storehouse_id"`
  292. GoodInfo GoodInfo `gorm:"ForeignKey:ID;AssociationForeignKey:GoodId" `
  293. WarehousingInfo WarehousingInfo `gorm:"ForeignKey:ID;AssociationForeignKey:WarehousingInfoId" json:"xt_warehouse_info"`
  294. }
  295. func (XtStockInventoryTwo) TableName() string {
  296. return "xt_stock_inventory"
  297. }