package validation

type Create struct {
	ProjectFlockKandangId uint   `json:"project_flock_kandang_id" validate:"required,number,min=1"`
	ChickInDate           string `json:"chick_in_date" validate:"required,datetime=2006-01-02"`
}

type Update struct {
	ChickInDate string `json:"chick_in_date" validate:"required,datetime=2006-01-02"`
}

type Query struct {
	Page                  int  `query:"page" validate:"omitempty,number,min=1"`
	Limit                 int  `query:"limit" validate:"omitempty,number,min=1,max=100"`
	ProjectFlockKandangId uint `query:"project_flock_kandang_id" validate:"omitempty,number,min=1"`
}
