1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- package model
- import "time"
- type TransferParam struct {
- ID int `gorm:"column:id"` //调拨单id
- Statue int `gorm:"column:statue"`
- LaidCode string `gorm:"column:laidCode"` // 入库单号
- UseCode string `gorm:"column:useCode"`
- }
- //调拨单
- type BigPartTransfer struct {
- //调拨单
- ID int `gorm:"column:id"`
- EmpID int `gorm:"column:empId"`
- InPastureID int `gorm:"column:inPastureId"` //调入牧场
- PastureID int `gorm:"column:pastureId"` //调出牧场
- ApplyCode string `gorm:"column:applyCode"` // 调拨单号
- LaidCode string `gorm:"column:laidCode"` //入库单号
- UseCode string `gorm:"column:useCode"` //出库单号
- Emp string `gorm:"column:emp"`
- ApplyDate time.Time `gorm:"column:applyDate"`
- CreatDate time.Time `gorm:"column:creatDate"`
- Statue int `gorm:"column:statue"` //'调拨状态(0调拨中,1调拨完成,2驳回中,3已退回)',
- DeptId int `gorm:"column:deptId"`
- SapStatus int `gorm:"column:sapStatus"` // sap同步状态
- SapText string `gorm:"column:sapText"` //同步信息
- }
- type PartTransfer struct {
- // 调拨明细
- ID int `gorm:"column:id"`
- BigID int `gorm:"column:bigId"`
- BrandID int `gorm:"column:brandId"`
- PartID int `gorm:"column:partId"`
- PartRepID int `gorm:"column:partRepId"`
- PastureID int `gorm:"column:pastureId"`
- ProviderID int `gorm:"column:providerId"`
- BrandName string `gorm:"column:brandName"`
- Amount string `gorm:"column:amount"`
- Note string `gorm:"column:note"`
- PartCode string `gorm:"column:partCode"`
- PartName string `gorm:"column:partName"`
- Price string `gorm:"column:price"`
- ProviderName string `gorm:"column:providerName"`
- Specification string `gorm:"column:specification"`
- SumPrice string `gorm:"column:sumPrice"`
- Unit string `gorm:"column:unit"`
- RowNumber int `json:"rowNumber" gorm:"column:rowNumber"`
- }
- type PartTransferStr struct {
- // 调拨明细
- ID interface{} `gorm:"column:id"`
- BigID interface{} `gorm:"column:bigId"`
- BrandID interface{} `gorm:"column:brandId"`
- PartID interface{} `gorm:"column:partId"`
- PartRepID interface{} `gorm:"column:partRepId"`
- PastureID interface{} `gorm:"column:pastureId"`
- ProviderID interface{} `gorm:"column:providerId"`
- BrandName interface{} `gorm:"column:brandName"`
- Amount interface{} `gorm:"column:amount"`
- Note interface{} `gorm:"column:note"`
- PartCode interface{} `gorm:"column:partCode"`
- PartName interface{} `gorm:"column:partName"`
- Price interface{} `gorm:"column:price"`
- ProviderName interface{} `gorm:"column:providerName"`
- Specification interface{} `gorm:"column:specification"`
- SumPrice interface{} `gorm:"column:sumPrice"`
- Unit interface{} `gorm:"column:unit"`
- RowNumber interface{} `json:"rowNumber" gorm:"column:rowNumber"`
- }
|