yxh
昨天 fce96ef468291fb9a0e6a4d34ab371315e9485d4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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;
 
}