feat:完善项目
This commit is contained in:
20
app/common/model/manage_material_warehouse.go
Normal file
20
app/common/model/manage_material_warehouse.go
Normal file
@ -0,0 +1,20 @@
|
||||
package model
|
||||
|
||||
// ManageMaterialWarehouse 维修器材采购入库明细
|
||||
type ManageMaterialWarehouse struct {
|
||||
Model
|
||||
OrderNo string `gorm:"column:order_no;type:varchar(20);default:null;comment:采购单号" json:"order_no"`
|
||||
MaterialPurchaseID uint64 `gorm:"column:material_purchase_id;type:int(11);default:0;comment:器材采购ID" json:"material_purchase_id"`
|
||||
Number int `gorm:"column:number;type:int(6);default:0;comment:入库数量" json:"number"`
|
||||
Remark string `gorm:"column:remark;type:varchar(255);default:null;comment:入库备注" json:"remark"`
|
||||
ModelDeleted
|
||||
ModelAt
|
||||
}
|
||||
|
||||
func (m *ManageMaterialWarehouse) TableName() string {
|
||||
return "manage_material_warehouse"
|
||||
}
|
||||
|
||||
func NewManageMaterialWarehouse() *ManageMaterialWarehouse {
|
||||
return &ManageMaterialWarehouse{}
|
||||
}
|
Reference in New Issue
Block a user