package com.czg.account.dto.calltable;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;


/**
 * @author Administrator
 */
@Data
public class UpdateCallTableDTO{
    /**
     * 桌型id
     */
    @NotNull(message = "台桌id不为空")
    private Integer callTableId;
    /**
     * 桌型名称
     */
    private String name;
    /**
     * 桌型备注
     */
    private String note;
    /**
     * 每桌等待时间
     */
    @Min(1)
    private Integer waitTime;
    /**
     * 前缀
     */
    private String prefix;
    /**
     * 叫号起始号码
     */
    @Min(1)
    private Integer start;
    /**
     * 临近几桌提醒
     */
    @Min(1)
    private Integer nearNum;
}
