models_3501.go 13KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301
  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. }
  163. type Struct3506 struct {
  164. MedListCodg string
  165. FixmedinsHilistId string
  166. FixmedinsHilistName string
  167. FixmedinsBchno string
  168. SetlId string
  169. PsnNo string
  170. PsnCertType string
  171. Certno string
  172. PsnName string
  173. ManuLotnum string
  174. ManuDate string
  175. ExpyEnd string
  176. RxFlag string
  177. TrdnFlag string
  178. FinlTrnsPric string
  179. SelTrnsPric string
  180. SelRetnCnt string
  181. SelRetnTime string
  182. SelRetnOpterName string
  183. Memo string
  184. MedinsProdSelNo string
  185. OrgName string
  186. Opter string
  187. SecretKey string
  188. FixmedinsCode string
  189. InsuplcAdmdvs string
  190. MdtrtareaAdmvs string
  191. RequestUrl string
  192. AccessKey string
  193. Cainfo string
  194. }
  195. type Struct3507 struct {
  196. FixmedinsBchno string
  197. InvDataType string
  198. OrgName string
  199. Opter string
  200. SecretKey string
  201. FixmedinsCode string
  202. InsuplcAdmdvs string
  203. MdtrtareaAdmvs string
  204. RequestUrl string
  205. AccessKey string
  206. Cainfo string
  207. }
  208. type XtDrugInventory struct {
  209. ID int64 `gorm:"column:id" json:"id" form:"id"`
  210. DrugName string `gorm:"column:drug_name" json:"drug_name" form:"drug_name"`
  211. SpecificationName string `gorm:"column:specification_name" json:"specification_name" form:"specification_name"`
  212. WarehousingUnit string `gorm:"column:warehousing_unit" json:"warehousing_unit" form:"warehousing_unit"`
  213. Count int64 `gorm:"column:count" json:"count" form:"count"`
  214. LastPrice float64 `gorm:"column:last_price" json:"last_price" form:"last_price"`
  215. RetailPrice float64 `gorm:"column:retail_price" json:"retail_price" form:"retail_price"`
  216. NewPrice float64 `gorm:"column:new_price" json:"new_price" form:"new_price"`
  217. Manufacturer string `gorm:"column:manufacturer" json:"manufacturer" form:"manufacturer"`
  218. Dealer string `gorm:"column:dealer" json:"dealer" form:"dealer"`
  219. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  220. DrugId int64 `gorm:"column:drug_id" json:"drug_id" form:"drug_id"`
  221. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  222. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  223. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  224. Status int64 `gorm:"column:status" json:"status" form:"status"`
  225. WarehousingOrder string `gorm:"column:warehousing_order" json:"warehousing_order" form:"warehousing_order"`
  226. LicenseNumber string `gorm:"column:license_number" json:"license_number" form:"license_number"`
  227. StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
  228. Creater int64 `gorm:"column:creater" json:"creater" form:"creater"`
  229. Checker int64 `gorm:"column:checker" json:"checker" form:"checker"`
  230. CheckerStatus int64 `gorm:"column:checker_status" json:"checker_status" form:"checker_status"`
  231. CheckerTime int64 `gorm:"column:checker_time" json:"checker_time" form:"checker_time"`
  232. ExpiryDate int64 `gorm:"column:expiry_date" json:"expiry_date" form:"expiry_date"`
  233. ProductDate int64 `gorm:"column:product_date" json:"product_date" form:"product_date"`
  234. Number string `gorm:"column:number" json:"number" form:"number"`
  235. BatchNumber string `gorm:"column:batch_number" json:"batch_number" form:"batch_number"`
  236. Total string `gorm:"column:total" json:"total" form:"total"`
  237. DrugOriginPlace string `gorm:"column:drug_origin_place" json:"drug_origin_place" form:"drug_origin_place"`
  238. WarehouseInfoId int64 `gorm:"column:warehouse_info_id" json:"warehouse_info_id" form:"warehouse_info_id"`
  239. ProofCount int64 `gorm:"column:proof_count" json:"proof_count" form:"proof_count"`
  240. StockMaxNumber int64 `gorm:"column:stock_max_number" json:"stock_max_number" form:"stock_max_number"`
  241. StockMinNumber int64 `gorm:"column:stock_min_number" json:"stock_min_number" form:"stock_min_number"`
  242. MinCount int64 `gorm:"column:min_count" json:"min_count" form:"min_count"`
  243. MinUnit string `gorm:"column:min_unit" json:"min_unit" form:"min_unit"`
  244. LastStockMaxNumber int64 `gorm:"column:last_stock_max_number" json:"last_stock_max_number" form:"last_stock_max_number"`
  245. LastStockMinNumber int64 `gorm:"column:last_stock_min_number" json:"last_stock_min_number" form:"last_stock_min_number"`
  246. InventoryType int64 `gorm:"column:inventory_type" json:"inventory_type" form:"inventory_type"`
  247. Type int64 `gorm:"column:type" json:"type" form:"type"`
  248. StorehouseId int64 `gorm:"column:storehouse_id" json:"storehouse_id" form:"storehouse_id"`
  249. BaseDrugLib BaseDrugLib `gorm:"ForeignKey:ID;AssociationForeignKey:DrugId"json:"drug" `
  250. DrugWarehouseInfo DrugWarehouseInfo `gorm:"ForeignKey:ID;AssociationForeignKey:WarehouseInfoId"json:"drug_warehouse_info" `
  251. }
  252. func (XtDrugInventory) TableName() string {
  253. return "xt_drug_inventory"
  254. }
  255. type XtStockInventoryTwo struct {
  256. ID int64 `gorm:"column:id" json:"id" form:"id"`
  257. GoodName string `gorm:"column:good_name" json:"good_name" form:"good_name"`
  258. SpecificationName string `gorm:"column:specification_name" json:"specification_name" form:"specification_name"`
  259. WarehousingUnit string `gorm:"column:warehousing_unit" json:"warehousing_unit" form:"warehousing_unit"`
  260. Count int64 `gorm:"column:count" json:"count" form:"count"`
  261. BuyPrice float64 `gorm:"column:buy_price" json:"buy_price" form:"buy_price"`
  262. PackingPrice float64 `gorm:"column:packing_price" json:"packing_price" form:"packing_price"`
  263. NewPrice float64 `gorm:"column:new_price" json:"new_price" form:"new_price"`
  264. Manufacturer string `gorm:"column:manufacturer" json:"manufacturer" form:"manufacturer"`
  265. Dealer string `gorm:"column:dealer" json:"dealer" form:"dealer"`
  266. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  267. GoodId int64 `gorm:"column:good_id" json:"good_id" form:"good_id"`
  268. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  269. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  270. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  271. Status int64 `gorm:"column:status" json:"status" form:"status"`
  272. WarehousingOrder string `gorm:"column:warehousing_order" json:"warehousing_order" form:"warehousing_order"`
  273. LicenseNumber string `gorm:"column:license_number" json:"license_number" form:"license_number"`
  274. StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
  275. Creater int64 `gorm:"column:creater" json:"creater" form:"creater"`
  276. Checker int64 `gorm:"column:checker" json:"checker" form:"checker"`
  277. CheckerStatus int64 `gorm:"column:checker_status" json:"checker_status" form:"checker_status"`
  278. CheckerTime int64 `gorm:"column:checker_time" json:"checker_time" form:"checker_time"`
  279. Total int64 `gorm:"column:total" json:"total" form:"total"`
  280. Number string `gorm:"column:number" json:"number" form:"number"`
  281. WarehousingInfoId int64 `gorm:"column:warehousing_info_id" json:"warehousing_info_id" form:"warehousing_info_id"`
  282. ExpireDate int64 `gorm:"column:expire_date" json:"expire_date" form:"expire_date"`
  283. ProductDate int64 `gorm:"column:product_date" json:"product_date" form:"product_date"`
  284. GoodOriginPlace string `gorm:"column:good_origin_place" json:"good_origin_place" form:"good_origin_place"`
  285. Type int64 `gorm:"column:type" json:"type" form:"type"`
  286. InventoryType int64 `gorm:"column:inventory_type" json:"inventory_type" form:"inventory_type"`
  287. LastStockCount int64 `gorm:"column:last_stock_count" json:"last_stock_count" form:"last_stock_count"`
  288. StockCount int64 `gorm:"column:stock_count" json:"stock_count" form:"stock_count"`
  289. StorehouseId int64 `gorm:"column:storehouse_id" json:"storehouse_id" form:"storehouse_id"`
  290. GoodInfo GoodInfo `gorm:"ForeignKey:ID;AssociationForeignKey:GoodId" `
  291. WarehousingInfo WarehousingInfo `gorm:"ForeignKey:ID;AssociationForeignKey:WarehousingInfoId" json:"xt_warehouse_info"`
  292. }
  293. func (XtStockInventoryTwo) TableName() string {
  294. return "xt_stock_inventory"
  295. }