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

import io.swagger.v3.oas.annotations.media.Schema;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Map;
import lombok.Data;

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

    @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 = "100.00")
    private BigDecimal quotaValue;

    @Schema(description = "调整内容", example = "冬季施工增加10%")
    private String adjustmentContent;

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

    @Schema(description = "调整规则（JSON）")
    private Map<String, Object> adjustmentRules;

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

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

}
