|
@@ -25,6 +25,8 @@ type DrugWarehouseInfoTenOne struct {
|
25
|
25
|
BatchNumber string `gorm:"column:batch_number" json:"batch_number" form:"batch_number"`
|
26
|
26
|
MaxUnit string `gorm:"column:max_unit" json:"max_unit" form:"max_unit"`
|
27
|
27
|
MinUnit string `gorm:"column:min_unit" json:"min_unit" form:"min_unit"`
|
|
28
|
+ DrugCode string `gorm:"column:drug_code" json:"drug_code" form:"drug_code"`
|
|
29
|
+
|
28
|
30
|
//Base Drug `gorm:"ForeignKey:DrugId;AssociationForeignKey:ID" json:"drug"`
|
29
|
31
|
BaseDrugLib BaseDrugLib `gorm:"ForeignKey:DrugId;AssociationForeignKey:ID"json:"drug" `
|
30
|
32
|
SupplyWarehouseId int64 `gorm:"column:supply_warehouse_id" json:"supply_warehouse_id" form:"supply_warehouse_id"`
|