package com.yhy.module.core.controller.admin.quota.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Map;

@Schema(description = "管理后台 - 定额调整设置 Response VO")
@Data
public class QuotaAdjustmentRespVO {

    @Schema(description = "主键ID", example = "1")
    private Long id;

    @Schema(description = "定额子目ID", example = "1")
    private Long quotaItemId;

    @Schema(description = "调整名称", example = "高温季节调整")
    private String name;

    @Schema(description = "调整内容", example = "夏季高温施工增加人工费用")
    private String content;

    @Schema(description = "调整类型", example = "percentage")
    private String adjustmentType;

    @Schema(description = "调整类型名称", example = "百分比调整")
    private String adjustmentTypeName;

    @Schema(description = "调整规则", example = "{\"value\": 10, \"operator\": \"increase\"}")
    private Map<String, Object> adjustmentRules;

    @Schema(description = "排序", example = "1")
    private Integer sortOrder;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
}
