/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package cn.ysk.cashier.dto.shop;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
* @website https://eladmin.vip
* @description /
* @author lyf
* @date 2024-02-28
**/
@Data
public class TbPrintMachineDto implements Serializable {

    private Integer id;

    /** 设备名称 */
    @NotNull(message = "设备名称不能为空")
    private String name;

    /** printer */
    private String type;

    /** 现在打印机支持USB 和 网络、蓝牙 */
    private String connectionType;

    /** ip地址 */
    @NotNull(message = "设备号不能为空")
    private String address;

    /** 端口 */
    private String port;

    /** 打印类型（分类） */
    private String subType;

    /** 状态 online */
    private Integer status;

    /** 店铺Id */
    private String shopId;

    /** 分类Id */
    private String categoryIds;

    /** 现在打印机支持USB 和 网络两种 */
    private String contentType;

    /** 主配置 */
    private String config;

    private Long createdAt;

    private Long updatedAt;

    /** 分类 */
    private String categoryList;

    /** 排序 */
    private Integer sort;

    /** Android打印机需要标识设备ID  */
    private String vendorId;

    /** Android打印机需要标识设备ID  */
    private String productId;

    private String receiptSize;
    private String classifyPrint;
    private String tablePrint;
    private String printQty;
    private String printMethod;
    private String printType;
    private String printReceipt;
}