package org.dromara.payment.channel.domain.vo;

import org.dromara.payment.channel.domain.BusChannelAccountSyn;
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;



/**
 * 代理商账户同步记录视图对象 bus_channel_account_syn
 *
 * @author LionLi
 * @date 2024-04-10
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = BusChannelAccountSyn.class)
public class BusChannelAccountSynVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

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

    /**
     * 同步顺序（倒序）
     */
    @ExcelProperty(value = "同步顺序", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "倒=序")
    private Long sort;

    /**
     * 是否正在同步（0:否 1:是）
     */
    @ExcelProperty(value = "是否正在同步", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=:否,1=:是")
    private Long synLock;

    /**
     * 最近同步批次
     */
    @ExcelProperty(value = "最近同步批次")
    private String synBatch;

    /**
     * 最近同步的位置
     */
    @ExcelProperty(value = "最近同步的位置")
    private Long synPosition;


}
