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"` 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"` }