package com.yingpaipay.business.domain.vo;

import java.util.Date;
import com.yingpaipay.business.domain.Document;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;

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



/**
 * 文档视图对象 document
 *
 * @author Huanyi
 * @date 2025-12-11
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = Document.class)
public class DocumentVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 序号
     */
    private Long id;

    /**
     * 所属文件夹
     */
    private String folderName;
    private Long folderId;

    /**
     * 文档标识
     */
    private String specificationLabel;
    private String specification;

    /**
     * 计划名称
     */
    private String name;

    private String planDocumentTypeLabel;
    private String planType;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 计划上传时间
     */
    private Date submitDeadline;

    /**
     * 文档本体
     */
    private String actualDocumentName;
    private Long actualDocument;

    private Date submitTime;

    /**
     * 备注
     */
    private String note;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

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

    private Integer type;

    private Integer specificationType;

    private Boolean sendFlag;

    private Boolean sendStatus;

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

    private Long createBy;
}
