models_3501.go 14KB

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