13 lines
204 B
Go
13 lines
204 B
Go
package ingredient
|
|
|
|
import (
|
|
"wagfarm-api/taxonomy/base"
|
|
"wagfarm-api/taxonomy/unit"
|
|
)
|
|
|
|
type Ingredient struct {
|
|
base.Taxonomy
|
|
UnitID uint `gorm:"not null"`
|
|
Unit unit.Unit `gorm:"not null"`
|
|
}
|