package cn.ysk.cashier.dto.shoptable;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

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

@Data
public class PackCartDTO {
    @NotEmpty
    private String masterId;
    private Integer vipUserId;
    @NotNull
    private Integer shopId;
    @NotEmpty
    private String tableId;
    @NotNull
    @Range(min = 0, max = 1)
    private Integer state;
}
