123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159 |
- package com.ruoyi.system.domain;
- import com.ruoyi.common.core.domain.entity.SysMenu;
- 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;
- import java.util.ArrayList;
- import java.util.List;
- /**
- * 仓库文件对象 sys_repo
- *
- * @author liyingjin
- * @date 2025-05-15
- */
- public class SysRepo extends BaseEntity
- {
- private static final long serialVersionUID = 1L;
- /** 仓库文件Id */
- private Long repoId;
- private Long createBy;
- /** 名称 */
- @Excel(name = "名称")
- private String repoName;
- /** 类别(文件docx、xls、jpg) */
- @Excel(name = "类别", readConverterExp = "文件docx、xls、jpg")
- private String repoType;
- /** 状态(私密、公开) */
- @Excel(name = "状态", readConverterExp = "私密、公开")
- private String repoStatus;
- /** 文件名 */
- @Excel(name = "文件名")
- private String fileName;
- /** 等级(一级只能是目录类型) */
- private Long groupId;
- /** 描述 */
- @Excel(name = "版本")
- private String version;
- /** 是否删除 */
- @Excel(name = "是否删除")
- private Integer isDelete;
- /** url */
- private String url;
- private List<SysMenu> children = new ArrayList<SysMenu>();
- public Long getRepoId()
- {
- return repoId;
- }
- public void setRepoName(String repoName)
- {
- this.repoName = repoName;
- }
- public String getRepoName()
- {
- return repoName;
- }
- public void setRepoType(String repoType)
- {
- this.repoType = repoType;
- }
- public String getRepoType()
- {
- return repoType;
- }
- public void setRepoStatus(String repoStatus)
- {
- this.repoStatus = repoStatus;
- }
- public String getRepoStatus()
- {
- return repoStatus;
- }
- public void setFileName(String fileName)
- {
- this.fileName = fileName;
- }
- public String getFileName()
- {
- return fileName;
- }
- public void setGroupId(Long groupId)
- {
- this.groupId = groupId;
- }
- public Long getGroupId()
- {
- return groupId;
- }
- public void setVersion(String version)
- {
- this.version = version;
- }
- public String getVersion()
- {
- return version;
- }
- public void setIsDelete(Integer isDelete)
- {
- this.isDelete = isDelete;
- }
- public Integer getIsDelete()
- {
- return isDelete;
- }
- public String getUrl() {
- return url;
- }
- public void setUrl(String url) {
- this.url = url;
- }
- @Override
- public String toString() {
- return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
- .append("repoId", getRepoId())
- .append("repoName", getRepoName())
- .append("createBy", getCreateBy())
- .append("updateBy", getUpdateBy())
- .append("repoType", getRepoType())
- .append("repoStatus", getRepoStatus())
- .append("createTime", getCreateTime())
- .append("updateTime", getUpdateTime())
- .append("fileName", getFileName())
- .append("groupId", getGroupId())
- .append("version", getVersion())
- .append("isDelete", getIsDelete())
- .append("url", getIsDelete())
- .toString();
- }
- }
|