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 ScheduleShiftSaveDetailReqVO {

    @Schema(description = "用户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "30403")
    @NotNull(message = "用户id不能为空")
    private Long nurseId;

    @Schema(description = "类型，0-自动排班，1-手动排班", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
    @NotNull(message = "类型不能为空")
    private Integer type;

    private List<ScheduleShiftSaveListReqVO> scheduleShiftDetailList;

}
