package com.yingpaipay.business.domain;

import org.dromara.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serial;

/**
 * 文档对象 document
 *
 * @author Huanyi
 * @date 2025-12-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("document")
public class Document extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 序号
     */
    @TableId(value = "id")
    private Long id;

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

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

    /**
     * 计划文件类型
     */
    private String planType;

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

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

    /**
     * 递交截止时间
     */
    private Date submitDeadline;

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

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

    /**
     * 删除标志（0代表存在 1代表删除）
     */
    @TableLogic
    private String delFlag;

    private Integer type;

    private Long submitter;

    private Date submitTime;

    private Long projectId;

    private Integer specificationType;

    private Boolean sendFlag;

    private Boolean sendStatus;

    private Long planSubmitter;

    private Date passTime;

    private Date effectiveDate;

    private String language;

    private String version;

    private Date versionDate;

    private Date ethicsSubmissionDate;

    private Date ethicsApprovalDate;

}
