package validate_service

import "encoding/json"

type RecommendCategory struct {
	Name       json.RawMessage `json:"name" validate:"required"`
	Sort       uint32          `json:"sort" validate:"required"`
	WalletType uint8           `json:"wallet_type" validate:"required"`
	Status     uint8           `json:"status" validate:"required"`
	PlatformId int             `json:"platform_id" validate:"required"`
}

type EditRecommendCategory struct {
	Id         int             `json:"id" validate:"required"`
	Name       json.RawMessage `json:"name" validate:"required"`
	Sort       uint32          `json:"sort" validate:"required"`
	WalletType uint8           `json:"wallet_type" validate:"required"`
	Status     uint8           `json:"status" validate:"required"`
}
