package teamsalarypolicy

type policyRequest struct {
	PolicyType            string         `json:"policy_type"`
	Name                  string         `json:"name"`
	RegionID              int64          `json:"region_id"`
	Status                string         `json:"status"`
	SettlementTriggerMode string         `json:"settlement_trigger_mode"`
	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"`
	ThresholdUSD string `json:"threshold_usd"`
	RatePercent  string `json:"rate_percent"`
	SalaryUSD    string `json:"salary_usd"`
	Status       string `json:"status"`
	SortOrder    int32  `json:"sort_order"`
}
