package com.yingpaipay.business.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import com.yingpaipay.business.constant.DictTypeConst;
import com.yingpaipay.business.domain.DocumentAuditLog;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;

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

@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = DocumentAuditLog.class)
public class DocumentAuditLogVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private Long id;

    private String documentName;
    private Long documentId;

    private String uploadVersionUrl;
    private Long uploadVersion;

    private String auditorType;

    @Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "auditor")
    private String auditorName;
    private Long auditor;

    private String resultLabel;
    private Integer result;

    private String rejectReason;

    private Date auditTime;

}
