stock_models.go 22KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394
  1. package models
  2. type Manufacturer struct {
  3. ID int64 `gorm:"column:id" json:"id"`
  4. ManufacturerName string `gorm:"column:manufacturer_name" json:"manufacturer_name"`
  5. Contact string `gorm:"column:contact" json:"contact"`
  6. ContactPhone string `gorm:"column:contact_phone" json:"contact_phone"`
  7. PlatformNumber string `gorm:"column:platform_number" json:"platform_number"`
  8. Email string `gorm:"column:email" json:"email"`
  9. ContactAddress string `gorm:"column:contact_address" json:"contact_address"`
  10. Remark string `gorm:"column:remark" json:"remark"`
  11. Creater int64 `gorm:"column:creater" json:"creater"`
  12. Modifier int64 `gorm:"column:modifier" json:"modifier"`
  13. Ctime int64 `gorm:"column:ctime" json:"ctime"`
  14. Mtime int64 `gorm:"column:mtime" json:"mtime"`
  15. OrgId int64 `gorm:"column:org_id" json:"org_id"`
  16. Status int64 `gorm:"column:status" json:"status"`
  17. ManufacturerCode string `gorm:"column:manufacturer_code" json:"manufacturer_code"`
  18. PinYin string `gorm:"column:pinyin" json:"pinyin"`
  19. WuBi string `gorm:"column:wubi" json:"wubi"`
  20. }
  21. func (Manufacturer) TableName() string {
  22. return "xt_manufacturer"
  23. }
  24. type Dealer struct {
  25. ID int64 `gorm:"column:id" json:"id"`
  26. DealerName string `gorm:"column:dealer_name" json:"dealer_name"`
  27. Contact string `gorm:"column:contact" json:"contact"`
  28. ContactPhone string `gorm:"column:contact_phone" json:"contact_phone"`
  29. PlatformNumber string `gorm:"column:platform_number" json:"platform_number"`
  30. Email string `gorm:"column:email" json:"email"`
  31. ContactAddress string `gorm:"column:contact_address" json:"contact_address"`
  32. Remark string `gorm:"column:remark" json:"remark"`
  33. Creater int64 `gorm:"column:creater" json:"creater"`
  34. Modifier int64 `gorm:"column:modifier" json:"modifier"`
  35. Ctime int64 `gorm:"column:ctime" json:"ctime"`
  36. Mtime int64 `gorm:"column:mtime" json:"mtime"`
  37. OrgId int64 `gorm:"column:org_id" json:"org_id"`
  38. Status int64 `gorm:"column:status" json:"status"`
  39. DealerCode string `gorm:"column:dealer_code" json:"dealer_code"`
  40. PinYin string `gorm:"column:pinyin" json:"pinyin"`
  41. WuBi string `gorm:"column:wubi" json:"wubi"`
  42. }
  43. func (Dealer) TableName() string {
  44. return "xt_dealer"
  45. }
  46. type Warehousing struct {
  47. ID int64 `gorm:"column:id" json:"id"`
  48. WarehousingOrder string `gorm:"column:warehousing_order" json:"warehousing_order"`
  49. OperationTime int64 `gorm:"column:operation_time" json:"operation_time"`
  50. OrgId int64 `gorm:"column:org_id" json:"org_id"`
  51. Creater int64 `gorm:"column:creater" json:"creater"`
  52. Ctime int64 `gorm:"column:ctime" json:"ctime"`
  53. Modifier int64 `gorm:"column:modifier" json:"modifier"`
  54. Mtime int64 `gorm:"column:mtime" json:"mtime"`
  55. Status int64 `gorm:"column:status" json:"status"`
  56. WarehousingTime int64 `gorm:"column:warehousing_time" json:"warehousing_time"`
  57. Dealer int64 `gorm:"column:dealer" json:"dealer"`
  58. Manufacturer int64 `gorm:"column:manufacturer" json:"manufacturer"`
  59. Manufacturers Manufacturer `gorm:"ForeignKey:ID;AssociationForeignKey:Manufacturer" json:"Manufacturer"`
  60. Dealers Dealer `gorm:"ForeignKey:ID;AssociationForeignKey:Dealer" json:"Dealer"`
  61. Type int64 `gorm:"column:type" json:"type"`
  62. }
  63. func (Warehousing) TableName() string {
  64. return "xt_warehouse"
  65. }
  66. type WarehousingInfo struct {
  67. ID int64 `gorm:"column:id" json:"id"`
  68. WarehousingId int64 `gorm:"column:warehousing_id" json:"warehousing_id"`
  69. GoodId int64 `gorm:"column:good_id" json:"good_id"`
  70. GoodTypeId int64 `gorm:"column:good_type_id" json:"good_type_id"`
  71. Number string `gorm:"column:number" json:"number"`
  72. ProductDate int64 `gorm:"column:product_date" json:"product_date"`
  73. ExpiryDate int64 `gorm:"column:expiry_date" json:"expiry_date"`
  74. WarehousingCount int64 `gorm:"column:warehousing_count" json:"warehousing_count"`
  75. WarehousingUnit string `gorm:"column:warehousing_unit" json:"warehousing_unit"`
  76. Price float64 `gorm:"column:price" json:"price"`
  77. TotalPrice float64 `gorm:"column:total_price" json:"total_price"`
  78. Dealer int64 `gorm:"column:dealer" json:"dealer"`
  79. Manufacturer int64 `gorm:"column:manufacturer" json:"manufacturer"`
  80. Remark string `gorm:"column:remark" json:"remark"`
  81. Ctime int64 `gorm:"column:ctime" json:"ctime"`
  82. Mtime int64 `gorm:"column:mtime" json:"mtime"`
  83. Status int64 `gorm:"column:status" json:"status"`
  84. OrgId int64 `gorm:"column:org_id" json:"org_id"`
  85. IsReturn int64 `gorm:"column:is_return" json:"is_return"`
  86. StockCount int64 `gorm:"column:stock_count" json:"stock_count" form:"stock_count"`
  87. Warehousing Warehousing `ForeignKey:WarehousingId json:"warehouse"`
  88. WarehousingOrder string `gorm:"column:warehousing_order" json:"warehousing_order"`
  89. GoodInfo GoodInfo `gorm:"ForeignKey:ID;AssociationForeignKey:GoodId" `
  90. Type int64 `gorm:"column:type" json:"type"`
  91. }
  92. func (WarehousingInfo) TableName() string {
  93. return "xt_warehouse_info"
  94. }
  95. type VmWarehousingInfo struct {
  96. ID int64 `gorm:"column:id" json:"id"`
  97. WarehousingId int64 `gorm:"column:warehousing_id" json:"warehousing_id"`
  98. GoodId int64 `gorm:"column:good_id" json:"good_id"`
  99. GoodTypeId int64 `gorm:"column:good_type_id" json:"good_type_id"`
  100. Number string `gorm:"column:number" json:"number"`
  101. ProductDate int64 `gorm:"column:product_date" json:"product_date"`
  102. ExpiryDate int64 `gorm:"column:expiry_date" json:"expiry_date"`
  103. WarehousingCount int64 `gorm:"column:warehousing_count" json:"warehousing_count"`
  104. WarehousingUnit string `gorm:"column:warehousing_unit" json:"warehousing_unit"`
  105. Price float64 `gorm:"column:price" json:"price"`
  106. TotalPrice float64 `gorm:"column:total_price" json:"total_price"`
  107. Dealer int64 `gorm:"column:dealer" json:"dealer"`
  108. Manufacturer int64 `gorm:"column:manufacturer" json:"manufacturer"`
  109. Remark string `gorm:"column:remark" json:"remark"`
  110. Ctime int64 `gorm:"column:ctime" json:"ctime"`
  111. Mtime int64 `gorm:"column:mtime" json:"mtime"`
  112. Status int64 `gorm:"column:status" json:"status"`
  113. OrgId int64 `gorm:"column:org_id" json:"org_id"`
  114. IsReturn int64 `gorm:"column:is_return" json:"is_return"`
  115. StockCount int64 `gorm:"column:stock_count" json:"stock_count" form:"stock_count"`
  116. Warehousing Warehousing `ForeignKey:WarehousingId json:"warehouse"`
  117. WarehousingOrder string `gorm:"column:warehousing_order" json:"warehousing_order"`
  118. GoodInfo GoodInfo `gorm:"ForeignKey:ID;AssociationForeignKey:GoodId" `
  119. Type int64 `gorm:"column:type" json:"type"`
  120. GoodName string `gorm:"column:good_name" json:"good_name"`
  121. SpecificationName string `gorm:"column:specification_name" json:"specification_name" form:"specification_name"`
  122. MinNumber int64 `gorm:"column:min_number" json:"min_number" form:"min_number"`
  123. MinUnit string `gorm:"column:min_unit" json:"min_unit" form:"min_unit"`
  124. }
  125. type WarehouseOut struct {
  126. ID int64 `gorm:"column:id" json:"id"`
  127. WarehouseOutOrderNumber string `gorm:"column:warehouse_out_order_number" json:"warehouse_out_order_number"`
  128. OperationTime int64 `gorm:"column:operation_time" json:"operation_time"`
  129. Creater int64 `gorm:"column:creater" json:"creater"`
  130. OrgId int64 `gorm:"column:org_id" json:"org_id"`
  131. Modifier int64 `gorm:"column:modifier" json:"modifier"`
  132. Remark string `gorm:"column:remark" json:"remark"`
  133. Ctime int64 `gorm:"column:ctime" json:"ctime"`
  134. Mtime int64 `gorm:"column:mtime" json:"mtime"`
  135. Status int64 `gorm:"column:status" json:"status"`
  136. WarehouseOutTime int64 `gorm:"column:warehouse_out_time" json:"warehouse_out_time"`
  137. Dealer int64 `gorm:"column:dealer" json:"dealer"`
  138. Manufacturer int64 `gorm:"column:manufacturer" json:"manufacturer"`
  139. Manufacturers Manufacturer `gorm:"ForeignKey:ID;AssociationForeignKey:Manufacturer" json:"Manufacturer"`
  140. Dealers Dealer `gorm:"ForeignKey:ID;AssociationForeignKey:Dealer" json:"Dealer"`
  141. Type int64 `gorm:"column:type" json:"type"`
  142. IsSys int64 `gorm:"column:is_sys" json:"is_sys"`
  143. }
  144. func (WarehouseOut) TableName() string {
  145. return "xt_warehouse_out"
  146. }
  147. type WarehouseOutInfo struct {
  148. ID int64 `gorm:"column:id" json:"id"`
  149. WarehouseOutId int64 `gorm:"column:warehouse_out_id" json:"warehouse_out_id"`
  150. WarehouseInfotId int64 `gorm:"column:warehouse_info_id" json:"warehouse_info_id"`
  151. GoodId int64 `gorm:"column:good_id" json:"good_id"`
  152. GoodTypeId int64 `gorm:"column:good_type_id" json:"good_type_id"`
  153. WarehousingOutTarget int64 `gorm:"column:warehousing_out_target" json:"warehousing_out_target"`
  154. Count int64 `gorm:"column:count" json:"count"`
  155. Price float64 `gorm:"column:price" json:"price"`
  156. TotalPrice float64 `gorm:"column:total_price" json:"total_price"`
  157. ProductDate int64 `gorm:"column:product_date" json:"product_date"`
  158. ExpiryDate int64 `gorm:"column:expiry_date" json:"expiry_date"`
  159. Mtime int64 `gorm:"column:mtime" json:"mtime"`
  160. Ctime int64 `gorm:"column:ctime" json:"ctime"`
  161. Status int64 `gorm:"column:status" json:"status"`
  162. OrgId int64 `gorm:"column:org_id" json:"org_id"`
  163. Remark string `gorm:"column:remark" json:"remark"`
  164. IsCancel int64 `gorm:"column:is_cancel" json:"is_cancel"`
  165. WarehouseOut WarehouseOut `ForeignKey:WarehouseOutId json:"WarehouseOut"`
  166. WarehouseOutOrderNumber string `gorm:"column:warehouse_out_order_number" json:"warehouse_out_order_number"`
  167. GoodInfo GoodInfo `gorm:"ForeignKey:ID;AssociationForeignKey:GoodId" `
  168. Type int64 `gorm:"column:type" json:"type"`
  169. Dealer int64 `gorm:"column:dealer" json:"dealer"`
  170. Manufacturer int64 `gorm:"column:manufacturer" json:"manufacturer"`
  171. IsSys int64 `gorm:"column:is_sys" json:"is_sys"`
  172. SysRecordTime int64 `gorm:"column:sys_record_time" json:"sys_record_time"`
  173. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  174. }
  175. func (WarehouseOutInfo) TableName() string {
  176. return "xt_warehouse_out_info"
  177. }
  178. type SalesReturn struct {
  179. ID int64 `gorm:"column:id" json:"id"`
  180. OrderNumber string `gorm:"column:order_number" json:"order_number"`
  181. OperaTime int64 `gorm:"column:opera_time" json:"opera_time"`
  182. Total int64 `gorm:"column:total" json:"total"`
  183. Creater int64 `gorm:"column:creater" json:"creater"`
  184. Ctime int64 `gorm:"column:ctime" json:"ctime"`
  185. Mtime int64 `gorm:"column:mtime" json:"mtime"`
  186. Status int64 `gorm:"column:status" json:"status"`
  187. OrgId int64 `gorm:"column:org_id" json:"org_id"`
  188. ReturnTime int64 `gorm:"column:return_time" json:"return_time"`
  189. Manufacturer int64 `gorm:"column:manufacturer" json:"manufacturer"`
  190. Dealer int64 `gorm:"column:dealer" json:"dealer"`
  191. Type int64 `gorm:"column:type" json:"type"`
  192. }
  193. func (SalesReturn) TableName() string {
  194. return "xt_sales_return"
  195. }
  196. type SalesReturnInfo struct {
  197. ID int64 `gorm:"column:id" json:"id"`
  198. GoodId int64 `gorm:"column:good_id" json:"good_id"`
  199. SalesReturnId int64 `gorm:"column:sales_return_id" json:"sales_return_id"`
  200. GoodTypeId int64 `gorm:"column:good_type_id" json:"good_type_id"`
  201. Count int64 `gorm:"column:count" json:"count"`
  202. Price float64 `gorm:"column:price" json:"price"`
  203. Total float64 `gorm:"column:total" json:"total"`
  204. ProductDate int64 `gorm:"column:product_date" json:"product_date"`
  205. ExpiryDate int64 `gorm:"column:expiry_date" json:"expiry_date"`
  206. Ctime int64 `gorm:"column:ctime" json:"ctime"`
  207. Mtime int64 `gorm:"column:mtime" json:"mtime"`
  208. Status int64 `gorm:"column:status" json:"status"`
  209. OrgId int64 `gorm:"column:org_id" json:"org_id"`
  210. OrderNumber string `gorm:"column:order_number" json:"order_number"`
  211. Type int64 `gorm:"column:type" json:"type"`
  212. SalesReturn SalesReturn `ForeignKey:SalesReturnId json:"SalesReturn"`
  213. Dealer int64 `gorm:"column:dealer" json:"dealer"`
  214. Manufacturer int64 `gorm:"column:manufacturer" json:"manufacturer"`
  215. GoodInfo GoodInfo `gorm:"ForeignKey:ID;AssociationForeignKey:GoodId" `
  216. }
  217. func (SalesReturnInfo) TableName() string {
  218. return "xt_sales_return_info"
  219. }
  220. type CancelStockInfo struct {
  221. ID int64 `gorm:"column:id" json:"id"`
  222. GoodId int64 `gorm:"column:good_id" json:"good_id"`
  223. CancelStockId int64 `gorm:"column:cancel_stock_id" json:"cancel_stock_id"`
  224. GoodTypeId int64 `gorm:"column:good_type_id" json:"good_type_id"`
  225. Count int64 `gorm:"column:count" json:"count"`
  226. Price float64 `gorm:"column:price" json:"price"`
  227. Total float64 `gorm:"column:total" json:"total"`
  228. ProductDate int64 `gorm:"column:product_date" json:"product_date"`
  229. ExpiryDate int64 `gorm:"column:expiry_date" json:"expiry_date"`
  230. Ctime int64 `gorm:"column:ctime" json:"ctime"`
  231. Mtime int64 `gorm:"column:mtime" json:"mtime"`
  232. Status int64 `gorm:"column:status" json:"status"`
  233. OrgId int64 `gorm:"column:org_id" json:"org_id"`
  234. OrderNumber string `gorm:"column:order_number" json:"order_number"`
  235. Type int64 `gorm:"column:type" json:"type"`
  236. CancelStock CancelStock `ForeignKey:CancelStockId json:"CancelStock"`
  237. Dealer int64 `gorm:"column:dealer" json:"dealer"`
  238. Manufacturer int64 `gorm:"column:manufacturer" json:"manufacturer"`
  239. GoodInfo GoodInfo `gorm:"ForeignKey:ID;AssociationForeignKey:GoodId" `
  240. }
  241. func (CancelStockInfo) TableName() string {
  242. return "xt_cancel_stock_info"
  243. }
  244. type CancelStock struct {
  245. ID int64 `gorm:"column:id" json:"id"`
  246. OrderNumber string `gorm:"column:order_number" json:"order_number"`
  247. OperaTime int64 `gorm:"column:opera_time" json:"opera_time"`
  248. Total int64 `gorm:"column:total" json:"total"`
  249. Creater int64 `gorm:"column:creater" json:"creater"`
  250. Ctime int64 `gorm:"column:ctime" json:"ctime"`
  251. Mtime int64 `gorm:"column:mtime" json:"mtime"`
  252. Status int64 `gorm:"column:status" json:"status"`
  253. OrgId int64 `gorm:"column:org_id" json:"org_id"`
  254. ReturnTime int64 `gorm:"column:return_time" json:"return_time"`
  255. Dealer int64 `gorm:"column:dealer" json:"dealer"`
  256. Manufacturer int64 `gorm:"column:manufacturer" json:"manufacturer"`
  257. Type int64 `gorm:"column:type" json:"type"`
  258. }
  259. func (CancelStock) TableName() string {
  260. return "xt_cancel_stock"
  261. }
  262. type WarehousingGoodInfo struct {
  263. ID int64 `gorm:"column:id" json:"id"`
  264. GoodCode string `gorm:"column:good_code" json:"good_code"`
  265. SpecificationName string `gorm:"column:specification_name" json:"specification_name"`
  266. GoodTypeId int64 `gorm:"column:good_type_id" json:"good_type_id"`
  267. GoodUnit int64 `gorm:"column:good_unit" json:"good_unit"`
  268. Manufacturer int64 `gorm:"column:manufacturer" json:"manufacturer"`
  269. Dealer int64 `gorm:"column:dealer" json:"dealer"`
  270. Status int64 `gorm:"column:status" json:"status"`
  271. GoodsType GoodsType `gorm:"ForeignKey:ID;AssociationForeignKey:GoodTypeId" json:"type"`
  272. Manufacturers Manufacturer `gorm:"ForeignKey:Manufacturer;AssociationForeignKey:ID" json:"manufacturers"`
  273. Dealers Dealer `gorm:"ForeignKey:Dealer;AssociationForeignKey:ID" json:"dealers"`
  274. BuyPrice float64 `gorm:"column:buy_price" json:"buy_price"`
  275. Total float64 `gorm:"column:total" json:"total" form:"total"`
  276. }
  277. func (WarehousingGoodInfo) TableName() string {
  278. return "xt_good_information"
  279. }
  280. type WarehousingInfoConfig struct {
  281. ID int64 `gorm:"column:id" json:"id"`
  282. WarehousingId int64 `gorm:"column:warehousing_id" json:"warehousing_id"`
  283. GoodId int64 `gorm:"column:good_id" json:"good_id"`
  284. WarehousingGoodInfo WarehousingGoodInfo `gorm:"ForeignKey:GoodId;AssociationForeignKey:ID" json:"info"`
  285. }
  286. func (WarehousingInfoConfig) TableName() string {
  287. return "xt_warehouse_info"
  288. }
  289. type WarehousingOutInfoConfig struct {
  290. ID int64 `gorm:"column:id" json:"id"`
  291. WarehouseOutId int64 `gorm:"column:warehouse_out_id" json:"warehouse_out_id"`
  292. GoodId int64 `gorm:"column:good_id" json:"good_id"`
  293. WarehousingGoodInfo WarehousingGoodInfo `gorm:"ForeignKey:GoodId;AssociationForeignKey:ID" json:"info"`
  294. }
  295. func (WarehousingOutInfoConfig) TableName() string {
  296. return "xt_warehouse_out_info"
  297. }
  298. type AutomaticReduceDetail struct {
  299. ID int64 `gorm:"column:id" json:"id"`
  300. WarehouseOutId int64 `gorm:"column:warehouse_out_id" json:"warehouse_out_id"`
  301. WarehouseOutOrderNumber string `gorm:"column:warehouse_out_order_number" json:"warehouse_out_order_number"`
  302. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  303. Ctime int64 `gorm:"column:ctime" json:"ctime"`
  304. Mtime int64 `gorm:"column:mtime" json:"mtime"`
  305. Status int64 `gorm:"column:status" json:"status"`
  306. RecordTime int64 `gorm:"column:record_time" json:"record_time"`
  307. OrgId int64 `gorm:"column:org_id" json:"org_id"`
  308. GoodId int64 `gorm:"column:good_id" json:"good_id"`
  309. GoodTypeId int64 `gorm:"column:good_type_id" json:"good_type_id"`
  310. GoodInfo GoodInfo `gorm:"ForeignKey:GoodId;AssociationForeignKey:ID" json:"info"`
  311. GoodsType GoodsType `gorm:"ForeignKey:GoodTypeId;AssociationForeignKey:ID" json:"type"`
  312. Patients Patients `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"user"`
  313. Count int64 `gorm:"column:count" json:"count"`
  314. Type int64 `gorm:"column:type" json:"type"`
  315. }
  316. func (AutomaticReduceDetail) TableName() string {
  317. return "xt_automatic_reduce_detail"
  318. }
  319. type VmWarehouseOutInfo struct {
  320. GoodId int64 `gorm:"column:good_id" json:"good_id"`
  321. Count int64 `gorm:"column:count" json:"count"`
  322. Remark string `gorm:"column:remark" json:"remark"`
  323. Price float64 `gorm:"column:price" json:"price"`
  324. OrgId int64 `gorm:"column:org_id" json:"org_id"`
  325. }
  326. type VmWarehouseInfo struct {
  327. GoodId int64 `gorm:"column:good_id" json:"good_id"`
  328. Count int64 `gorm:"column:count" json:"count"`
  329. OrgId int64 `gorm:"column:org_id" json:"org_id"`
  330. }
  331. type WarehouseOutInfoOne struct {
  332. ID int64 `gorm:"column:id" json:"id"`
  333. WarehouseOutId int64 `gorm:"column:warehouse_out_id" json:"warehouse_out_id"`
  334. WarehouseInfotId int64 `gorm:"column:warehouse_info_id" json:"warehouse_info_id"`
  335. GoodId int64 `gorm:"column:good_id" json:"good_id"`
  336. GoodTypeId int64 `gorm:"column:good_type_id" json:"good_type_id"`
  337. WarehousingOutTarget int64 `gorm:"column:warehousing_out_target" json:"warehousing_out_target"`
  338. Count int64 `gorm:"column:count" json:"count"`
  339. Price float64 `gorm:"column:price" json:"price"`
  340. TotalPrice float64 `gorm:"column:total_price" json:"total_price"`
  341. ProductDate int64 `gorm:"column:product_date" json:"product_date"`
  342. ExpiryDate int64 `gorm:"column:expiry_date" json:"expiry_date"`
  343. Mtime int64 `gorm:"column:mtime" json:"mtime"`
  344. Ctime int64 `gorm:"column:ctime" json:"ctime"`
  345. Status int64 `gorm:"column:status" json:"status"`
  346. OrgId int64 `gorm:"column:org_id" json:"org_id"`
  347. Remark string `gorm:"column:remark" json:"remark"`
  348. IsCancel int64 `gorm:"column:is_cancel" json:"is_cancel"`
  349. WarehouseOutOrderNumber string `gorm:"column:warehouse_out_order_number" json:"warehouse_out_order_number"`
  350. Type int64 `gorm:"column:type" json:"type"`
  351. Dealer int64 `gorm:"column:dealer" json:"dealer"`
  352. Manufacturer int64 `gorm:"column:manufacturer" json:"manufacturer"`
  353. IsSys int64 `gorm:"column:is_sys" json:"is_sys"`
  354. SysRecordTime int64 `gorm:"column:sys_record_time" json:"sys_record_time"`
  355. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  356. GoodName string `gorm:"column:good_name" json:"good_name" form:"good_name"`
  357. SpecificationName string `gorm:"column:specification_name" json:"specification_name" form:"specification_name"`
  358. MinNumber int64 `gorm:"column:min_number" json:"min_number" form:"min_number"`
  359. PackingPrice float64 `gorm:"column:packing_price" json:"packing_price" form:"packing_price"`
  360. MinUnit string `gorm:"column:min_unit" json:"min_unit" form:"min_unit"`
  361. }