package com.ruoyi.system.domain; import java.util.Date; import com.fasterxml.jackson.annotation.JsonFormat; 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; /** * 视频信息对象 b_videos * * @author ruoyi * @date 2022-03-09 */ public class BVideos extends BaseEntity { private static final long serialVersionUID = 1L; /** $column.columnComment */ private Long id; /** $column.columnComment */ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") private String name; /** $column.columnComment */ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") private String path; /** 文件类型:1:目录,2:文件,3:链接 */ @Excel(name = "文件类型:1:目录,2:文件,3:链接") private Long type; /** $column.columnComment */ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") private Date gmtModified; /** $column.columnComment */ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") private Date gmtCreate; /** $column.columnComment */ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") private Long parentId; /** 文件id */ @Excel(name = "文件id") private Long fileId; public void setId(Long id) { this.id = id; } public Long getId() { return id; } public void setName(String name) { this.name = name; } public String getName() { return name; } public void setPath(String path) { this.path = path; } public String getPath() { return path; } public void setType(Long type) { this.type = type; } public Long getType() { return type; } public void setGmtModified(Date gmtModified) { this.gmtModified = gmtModified; } public Date getGmtModified() { return gmtModified; } public void setGmtCreate(Date gmtCreate) { this.gmtCreate = gmtCreate; } public Date getGmtCreate() { return gmtCreate; } public void setParentId(Long parentId) { this.parentId = parentId; } public Long getParentId() { return parentId; } public void setFileId(Long fileId) { this.fileId = fileId; } public Long getFileId() { return fileId; } @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("id", getId()) .append("name", getName()) .append("path", getPath()) .append("type", getType()) .append("gmtModified", getGmtModified()) .append("gmtCreate", getGmtCreate()) .append("parentId", getParentId()) .append("fileId", getFileId()) .toString(); } }