package org.dromara.zhishu.domain.vo;

import org.dromara.zhishu.domain.FastMail;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 快递打单账号管理视图对象 t_fast_mail
 *
 * @author yxy
 * @date 2025-06-06
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = FastMail.class)
public class FastMailVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 类型 1 韵达
     */
    @ExcelProperty(value = "类型 1 韵达", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_device_type")
    private String type;

    /**
     * 账号
     */
    @ExcelProperty(value = "账号")
    private String partnerId;

    /**
     * 联调密码
     */
    @ExcelProperty(value = "联调密码")
    private String secret;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 更新时间
     */
    @ExcelProperty(value = "更新时间")
    private Date updateTime;

    /**
     * 状态（0正常 1停用）
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=正常,1=停用")
    private String status;

    /**
     * 普通快递余额
     */
    private String commonRemainNum;

    /**
     * 代付快递余额
     */
    private String codRemainNum;

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

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

    private String createBy;


}
