package cn.iocoder.yudao.module.system.controller.admin.biz.vo;

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

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 编制计划记录新增/修改 Request VO")
@Data
public class StaffingPlanRecordSaveReqVO {

    @Schema(description = "id", example = "1024")
    private Long id;

    @Schema(description = "开始年月", requiredMode = Schema.RequiredMode.REQUIRED, example = "2025-01")
    @NotBlank(message = "开始年月不能为空")
    private String beginYearMonth;

    @Schema(description = "结束年月", requiredMode = Schema.RequiredMode.REQUIRED, example = "2025-12")
    @NotBlank(message = "结束年月不能为空")
    private String endYearMonth;

    @Schema(description = "编制人数", requiredMode = Schema.RequiredMode.REQUIRED, example = "100")
    @NotNull(message = "编制人数不能为空")
    private Integer staffingCount;

    @Schema(description = "机构id", example = "1")
    private Long tenantId;
}

