package dto

// BatchUpdateCostPriceRequest 批量调价请求
type BatchUpdateCostPriceRequest struct {
	ShopID          uint            `json:"shop_id" validate:"required" required:"true" description:"店铺ID"`
	SeriesID        *uint           `json:"series_id" validate:"omitempty" description:"套餐系列ID（可选，不填则调整所有）"`
	PriceAdjustment PriceAdjustment `json:"price_adjustment" validate:"required" required:"true" description:"价格调整配置"`
	ChangeReason    string          `json:"change_reason" validate:"omitempty,max=255" maxLength:"255" description:"变更原因"`
}

// BatchUpdateCostPriceResponse 批量调价响应
type BatchUpdateCostPriceResponse struct {
	UpdatedCount int                   `json:"updated_count" description:"更新数量"`
	AffectedIDs  []uint                `json:"affected_ids" description:"受影响的分配ID列表"`
	Skipped      []BatchPricingSkipped `json:"skipped,omitempty" description:"跳过的记录"`
}

// BatchPricingSkipped 批量调价跳过记录
type BatchPricingSkipped struct {
	AllocationID uint   `json:"allocation_id" description:"分配ID"`
	Reason       string `json:"reason" description:"跳过原因"`
}
