package org.dromara.zhishu.domain.bo;

import org.dromara.zhishu.domain.FastMail;
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_fast_mail
 *
 * @author yxy
 * @date 2025-06-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = FastMail.class, reverseConvertGenerate = false)
public class FastMailBo extends BaseEntity {

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

    /**
     * 类型 1 韵达
     */
    private String type;

    /**
     * 账号
     */
    private String partnerId;

    /**
     * 联调密码
     */
    private String secret;

    /**
     * 状态（0正常 1停用）
     */
    private String status;

    /**
     * 面单类型 1 网点面单 2 拼多多面单
     */
    private String fastMailType;

    /**
     * 备注
     */
    private String remark;


}
