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.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Author: jinyd
 * @CreateTime: 2024/9/14  9:40
 * @Description:
 * @Version: 4.0
 */


@Schema(description = "管理后台 - 用户班次排班新增/修改 Request VO")
@Data
public class ScheduleShiftSaveReqVO {

    @Schema(description = "排班表id", example = "2024-09")
    private String nurseScheduleId;

    @Schema(description = "排班表年月", requiredMode = Schema.RequiredMode.REQUIRED, example = "2024-09")
    @NotEmpty(message = "排班表年月不能为空")
    private String scheduleDate;

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

    private Long tenantId;

    @Schema(description = "用户排班信息", requiredMode = Schema.RequiredMode.REQUIRED, example = "8748")
    private List<ScheduleShiftSaveDetailReqVO> scheduleShiftList;

}
