mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 05:21:57 +00:00
21 lines
824 B
Go
21 lines
824 B
Go
package entities
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type ProductionStandardDetail struct {
|
|
Id uint `gorm:"primaryKey;autoIncrement"`
|
|
ProductionStandardId uint `gorm:"not null"`
|
|
Week int `gorm:"not null"`
|
|
TargetHenDayProduction *float64 `gorm:"type:numeric(15,3)"`
|
|
TargetHenHouseProduction *float64 `gorm:"type:numeric(15,3)"`
|
|
TargetEggWeight *float64 `gorm:"type:numeric(15,3)"`
|
|
TargetEggMass *float64 `gorm:"type:numeric(15,3)"`
|
|
StandardFCR *float64 `gorm:"type:numeric(15,3)"`
|
|
CreatedAt time.Time `gorm:"type:timestamptz;not null"`
|
|
UpdatedAt time.Time `gorm:"type:timestamptz;not null"`
|
|
|
|
ProductionStandard ProductionStandard `gorm:"foreignKey:ProductionStandardId;references:Id"`
|
|
}
|