| | |
| | | // FinenessItem 纤度登记 |
| | | FinenessItem struct { |
| | | gorm.Model |
| | | FinenessRegisterID uint `gorm:"size:11;index" json:"finenessRegisterID"` |
| | | Position int `gorm:"size:11;comment:车号" json:"position"` // 车号 |
| | | Fineness float32 `gorm:"comment:纤度" json:"fineness"` // 纤度 |
| | | Quantity int `gorm:"size:11;comment:数量" json:"quantity"` // 数量 |
| | | Sum decimal.Decimal `gorm:"type:decimal(12,4);comment:纤度合计" json:"sum"` //纤度合计 |
| | | FinenessRegisterID uint `gorm:"size:11;index;comment:纤度登记ID" json:"finenessRegisterID"` // 纤度登记ID |
| | | Position int `gorm:"size:11;comment:车号" json:"position"` // 车号 |
| | | Fineness float32 `gorm:"comment:纤度" json:"fineness"` // 纤度 |
| | | Quantity int `gorm:"size:11;comment:数量" json:"quantity"` // 数量 |
| | | Sum decimal.Decimal `gorm:"type:decimal(12,4);comment:纤度合计" json:"sum"` // 纤度合计 |
| | | } |
| | | |
| | | FinenessItemSearch struct { |