package cn.ysk.cashier.dto.freedine;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

@Data
public class UpdateFreeDineConfigDTO {
    @NotNull
    private Integer shopId;
    @NotNull
    private Integer id;
    private Boolean enable;
    @Min(1)
    private Integer rechargeTimes;
    @Min(value = 0)
    private BigDecimal rechargeThreshold;
    private Boolean withCoupon;
    private Boolean withPoints;
    private String rechargeDesc;
    private List<String> useTypeList;

}
