package org.dromara.work.domain.vo;

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

import java.io.Serial;
import java.io.Serializable;



/**
 * 汇款视图对象 tp_remittance
 *
 * @author Maosw
 * @date 2024-08-12
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = TpRemittance.class)
public class TpRemittanceVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

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

    /**
     * 别名
     */
    @ExcelProperty(value = "别名")
    private String alias;

    /**
     * 开户渠道
     */
    @ExcelProperty(value = "开户渠道")
    private Long qid;

    /**
     * 开户类型
     */
    @ExcelProperty(value = "开户类型")
    private Long type;

    /**
     * 开户名称
     */
    @ExcelProperty(value = "开户名称")
    private String name;

    /**
     * 收款码
     */
    @ExcelProperty(value = "收款码")
    private String qrcode;

    /**
     * 开户时间
     */
    @ExcelProperty(value = "开户时间")
    private Long opentime;

    /**
     * 付款码链接
     */
    @ExcelProperty(value = "付款码链接")
    private String link;

    /**
     * 状态（1=正常，2=禁用）
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "1==正常，2=禁用")
    private Long state;

    /**
     * 创建人
     */
    @ExcelProperty(value = "创建人")
    private Long addUser;

    /**
     * 是否删除（1=未删除，2=已删除）
     */
    @ExcelProperty(value = "是否删除", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "1==未删除，2=已删除")
    private Long isDel;

    /**
     * 录入时间
     */
    @ExcelProperty(value = "录入时间")
    private Long addTime;


}
