package org.dromara.zhishu.domain.bo;

import org.dromara.zhishu.domain.Printer;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 打印机设置业务对象 t_printer
 *
 * @author yxy
 * @date 2026-03-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = Printer.class, reverseConvertGenerate = false)
public class PrinterBo extends BaseEntity {

    /**
     * 
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;


    /**
     * 打印机类型  1 本地打印机  2 拼多多云打印机
     */
    private String printType;

    /**
     * 拼多多云打印机共享码
     */
    private String shareCode;

    /**
     * 打印机
     */
    private String printer;

    /**
     * 打印机名称
     */
    private String printerName;

    /**
     * 是否启用全程打印
     */
    private String isRemotePrinting;

    /**
     * 0正常 1停用
     */
    private String status;

    /**
     * 验证码
     */
    private String captcha;

    /**
     * 拼多多打印机绑定店铺token
     */
    private String accessToken;


}
