package cn.ysk.cashier.dto.shop;

import lombok.Data;
import cn.ysk.cashier.pojo.product.TbShopCategory;
import reactor.util.annotation.Nullable;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author 12847
 */
@Data
public class PrintConfig {
    @NotNull(message = "设备尺寸不能为空")
    private String width;
    @NotNull(message = "打印份数不能为空")
    private String printerNum;

    private List<TbShopCategory> categoryList;

    private String model;
    @NotNull(message = "尾部留空需设置")
    private String feet;
    @NotNull(message = "自动切刀0开启1关闭")
    private String autoCut;
}
