package cn.ysk.cashier.dto.shoptable;

import lombok.Data;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class UpdateCartDTO {
    @NotNull
    private Integer cartId;
    private Integer skuId;
    private Integer productId;
    @NotNull
    private Integer shopId;
    @NotNull
    @DecimalMin("0")
    private BigDecimal num;
    private String note;
    private Boolean isPack;
    private Boolean isGift;
    // 是否打印
    private Boolean isPrint;

}
