package org.dromara.zhishu.domain.bo;

import org.dromara.zhishu.domain.PrintTemplate;
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_print_template
 *
 * @author yxy
 * @date 2026-03-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = PrintTemplate.class, reverseConvertGenerate = false)
public class PrintTemplateBo extends BaseEntity {

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

    /**
     * 快递类型
     */
    private String expressType;

    /**
     * 模板名称
     */
    private String printTemplateName;

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

    /**
     * 包裹信息json字符串
     */
    private String parcelInformation;
}
