package hostagencypolicy

type policyRequest struct {
	Name                     string         `json:"name"`
	RegionID                 int64          `json:"region_id"`
	Status                   string         `json:"status"`
	SettlementMode           string         `json:"settlement_mode"`
	SettlementTriggerMode    string         `json:"settlement_trigger_mode"`
	GiftCoinToDiamondRatio   string         `json:"gift_coin_to_diamond_ratio"`
	ResidualDiamondToUSDRate string         `json:"residual_diamond_to_usd_rate"`
	EffectiveFromMS          int64          `json:"effective_from_ms"`
	EffectiveToMS            int64          `json:"effective_to_ms"`
	Description              string         `json:"description"`
	Levels                   []levelRequest `json:"levels"`
}

type levelRequest struct {
	Level            int32  `json:"level"`
	RequiredDiamonds int64  `json:"required_diamonds"`
	HostSalaryUSD    string `json:"host_salary_usd"`
	HostCoinReward   int64  `json:"host_coin_reward"`
	AgencySalaryUSD  string `json:"agency_salary_usd"`
	Status           string `json:"status"`
	SortOrder        int32  `json:"sort_order"`
}
