package appconfig

type updateH5LinksRequest struct {
	Items []h5LinkPayload `json:"items" binding:"required"`
}

type h5LinkPayload struct {
	Key string `json:"key" binding:"required"`
	URL string `json:"url"`
}

type bannerRequest struct {
	CoverURL    string `json:"coverUrl" binding:"required"`
	BannerType  string `json:"bannerType" binding:"required"`
	Param       string `json:"param"`
	Status      string `json:"status" binding:"required"`
	Platform    string `json:"platform" binding:"required"`
	SortOrder   int    `json:"sortOrder"`
	RegionID    int64  `json:"regionId"`
	CountryCode string `json:"countryCode"`
	Description string `json:"description"`
}

type appVersionRequest struct {
	Platform    string `json:"platform" binding:"required"`
	Version     string `json:"version" binding:"required"`
	BuildNumber int64  `json:"buildNumber" binding:"required"`
	ForceUpdate bool   `json:"forceUpdate"`
	DownloadURL string `json:"downloadUrl" binding:"required"`
	Description string `json:"description"`
}
