package cn.iocoder.yudao.module.pms.controller.admin.qhse.safe.vo;

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

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - QHSE_安全生产天数新增/修改 Request VO")
@Data
public class QhseSafeDaySaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "24456")
    private Long id;

    @Schema(description = "安全生产天数", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "安全生产天数不能为空")
    private Integer dayNumber;

    @Schema(description = "部门id", requiredMode = Schema.RequiredMode.REQUIRED, example = "4")
    @NotNull(message = "部门id不能为空")
    private Long deptId;

    @Schema(description = "单位", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotEmpty(message = "单位不能为空")
    private String deptName;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

}