package com.erp.print.dto.request;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.Builder;
import jakarta.validation.constraints.NotBlank;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class PrinterRequest {

    private Long id;

    @NotBlank(message = "打印机编码不能为空")
    private String printerCode;

    @NotBlank(message = "打印机名称不能为空")
    private String printerName;

    @NotBlank(message = "打印机类型不能为空")
    private String printerType;

    private String connectionType;

    private String ipAddress;

    private Integer port;

    private String macAddress;

    private String driverName;

    private String paperSize;

    private Integer status;

    private String description;

    private Long warehouseId;

    private String warehouseName;

    private Integer isDefault;
}
