package models

func (SupplementNutrient) TableName() string {
	return "supplement_nutrients"
}

type SupplementNutrient struct {
	BaseModel
	SupplementID              ULID   `json:"supplementId" db:"supplement_id"`
	NutrientID                ULID   `json:"nutrientId" db:"nutrient_id"`
	ServingSize               string `json:"servingSize" db:"serving_size"`
	PerServing                string `json:"perServing" db:"per_serving"`
	PerServingReferenceIntake string `json:"perServingReferenceIntake" db:"per_serving_reference_intake"`
}

type SupplementNutrientOverview struct {
	SupplementID              ULID   `json:"supplementId" db:"supplement_id"`
	NutrientID                ULID   `json:"nutrientId" db:"nutrient_id"`
	ServingSize               string `json:"servingSize" db:"serving_size"`
	PerServing                string `json:"perServing" db:"per_serving"`
	PerServingReferenceIntake string `json:"perServingReferenceIntake" db:"per_serving_reference_intake"`
}
