package cn.ysk.cashier.dto.calltable;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class CallTableDTO {
    @NotNull
    private Integer shopId;
    @NotEmpty
    private String name;
    private String note;
    @NotNull
    @Min(1)
    private Integer waitTime;
    @NotBlank
    private String prefix;
    @NotNull
    @Min(1)
    private Integer start;
    @Min(1)
    private Integer nearNum;
}
