package cn.ysk.cashier.dto.shoptable;

import lombok.Data;

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

@Data
public class ReturnCartDTO {
    @NotNull
    private Integer cartId;
    @NotNull
    private Integer shopId;
    @NotNull
    private Long tableId;
    @NotNull
    @Min(value = 1, message = "最小数量为1")
    private Integer num;
    private String note;
}
