package cn.iocoder.lyzsys.module.tjt.controller.admin.employeeyearleaderoutput.vo;

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

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Schema(description = "管理后台 - 年度所长考核产值按年度生成 Request VO")
@Data
public class EmployeeYearLeaderOutputGenerateReqVO {

    @Schema(description = "产值年度", requiredMode = Schema.RequiredMode.REQUIRED, example = "2026")
    @NotNull(message = "产值年度不能为空")
    private Integer outputYear;

    @Schema(description = "默认所长考核产值", example = "0")
    @DecimalMin(value = "0", message = "默认所长考核产值不能小于 0")
    private BigDecimal leaderOutputAmount;

}
