package validate_service

type News struct {
	Title      string `json:"title" validate:"required"`
	Content    string `json:"content" validate:"required"`
	Top        uint8  `json:"top"`
	Highlight  uint8  `json:"highlight"`
	PlatformId int    `json:"platform_id"`
}

type EditNews struct {
	News
	Id int `json:"id" validate:"required"`
}
