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

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

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

@Schema(description = "管理后台 - 用户班次排班分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ScheduleShiftPageReqVO extends PageParam {

    @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 Integer queryFlag;

}
