package cn.ysk.cashier.dto.shoptable;

import lombok.Data;

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

@Data
public class AddCartDTO {
    @NotEmpty
    private String masterId;
    private Integer vipUserId;
    @NotNull
    private Integer productId;
    @NotNull
    private Integer skuId;
    @NotNull
    private Integer shopId;
    @NotEmpty
    private String tableId;
    @NotNull
    @Min(0)
    private Integer num;
    private boolean isPack;
    private boolean isGift;
    private Integer cartId;
}
