package com.yhy.module.core.controller.admin.workbench.vo.price;

import io.swagger.v3.oas.annotations.media.Schema;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 调整明细（调试用）
 * 
 * 用于定额单价计算中的第2层：定额调整计算明细
 * 
 * @author yhy
 */
@Schema(description = "工作台 - 调整明细")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AdjustmentDetail {

    @Schema(description = "调整设置ID", example = "1")
    private Long settingId;

    @Schema(description = "调整名称", example = "人工系数调整")
    private String settingName;

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

    @Schema(description = "是否启用", example = "true")
    private Boolean enabled;

    @Schema(description = "应用的公式", example = "x*1.1")
    private String appliedFormula;

    @Schema(description = "受影响的工料机编码列表")
    private List<String> affectedResources;
}
