ArchivesFile.java 2.96 KB
package com.ruoyi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 archives_file
 *
 * @author li
 * @date 2022-08-04
 */
public class ArchivesFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 所属文件id */
    @Excel(name = "所属文件id")
    private Long colletctId;

    /** 原文名称 */
    @Excel(name = "原文名称")
    private String name;

    /** 原文大小 */
    @Excel(name = "原文大小")
    private String size;

    /** 原文类型 */
    @Excel(name = "原文类型")
    private String type;

    /** 原文密级 */
    @Excel(name = "原文密级")
    private String secretLevel;

    /** 原文版本 */
    @Excel(name = "原文版本")
    private String version;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String file;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setColletctId(Long colletctId)
    {
        this.colletctId = colletctId;
    }

    public Long getColletctId()
    {
        return colletctId;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setSize(String size)
    {
        this.size = size;
    }

    public String getSize()
    {
        return size;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setSecretLevel(String secretLevel)
    {
        this.secretLevel = secretLevel;
    }

    public String getSecretLevel()
    {
        return secretLevel;
    }
    public void setVersion(String version)
    {
        this.version = version;
    }

    public String getVersion()
    {
        return version;
    }

    public String getFile() {
        return file;
    }

    public void setFile(String file) {
        this.file = file;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("colletctId", getColletctId())
                .append("name", getName())
                .append("size", getSize())
                .append("type", getType())
                .append("secretLevel", getSecretLevel())
                .append("version", getVersion())
                .append("file", getFile())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}