package cn.lihu.jh.module.ecg.controller.admin.queuesequence.vo;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.*;
|
import javax.validation.constraints.NotNull;
|
import java.util.*;
|
|
@Schema(description = "管理后台 - 预约时段规则 新增/修改 Request VO")
|
@Data
|
public class QueueSequenceSaveReqVO {
|
|
@Schema(description = "DB 主键(新增时留空)", example = "11958")
|
private Integer id;
|
|
@Schema(description = "检查类型(取值来自 check_type.value)", example = "100",
|
requiredMode = Schema.RequiredMode.REQUIRED)
|
@NotNull(message = "检查类型不能为空")
|
private Integer checkType;
|
|
@Schema(description = "时段(HHMMHHMM 形式,如 8000830 表示 08:00-08:30)", example = "8000830",
|
requiredMode = Schema.RequiredMode.REQUIRED)
|
@NotNull(message = "时段不能为空")
|
private Integer timeSlot;
|
|
@Schema(description = "该时段 普通患者 当前序号(取号时从此值往后发;可与起始序号不同)")
|
private Integer queueNo;
|
|
@Schema(description = "该时段 普通患者 起始序号(每日重置回到此值)")
|
private Integer queueSet;
|
|
@Schema(description = "该时段 vip 当前序号")
|
private Integer queueVipNo;
|
|
@Schema(description = "该时段 vip 起始序号(每日重置回到此值)")
|
private Integer queueVipSet;
|
|
@Schema(description = "该时段 普通患者 序号上限(达到即该时段满)",
|
requiredMode = Schema.RequiredMode.REQUIRED)
|
@NotNull(message = "普通序号上限不能为空")
|
private Integer queueFull;
|
|
@Schema(description = "该时段 vip 序号上限")
|
private Integer queueVipFull;
|
|
}
|