package entities import "time" type RecordingBW struct { Id uint `gorm:"primaryKey"` RecordingId uint `gorm:"column:recording_id;not null;index"` AvgWeight float64 `gorm:"column:avg_weight;not null"` Qty float64 `gorm:"column:qty;not null"` TotalWeight float64 `gorm:"column:total_weight;not null"` CreatedAt time.Time `gorm:"autoCreateTime"` UpdatedAt time.Time `gorm:"autoUpdateTime"` Recording Recording `gorm:"foreignKey:RecordingId;references:Id"` }