package categorydomain

type Category struct {
	ID   string `json:"id" gorm:"primaryKey"`
	Name string `json:"name"`
	Code string `json:"code"`
}

type CategoryReq struct {
	Name string `json:"name" validate:"required"`
	Code string `json:"code" validate:"required"`
}
