|
@@ -1,11 +1,11 @@
|
|
|
package com.doc.biz.domain;
|
|
package com.doc.biz.domain;
|
|
|
|
|
|
|
|
|
|
+import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
import com.doc.common.core.domain.BaseEntity;
|
|
import com.doc.common.core.domain.BaseEntity;
|
|
|
import io.swagger.annotations.ApiModel;
|
|
import io.swagger.annotations.ApiModel;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
-import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
|
|
|
-import org.apache.commons.lang3.builder.ToStringStyle;
|
|
|
|
|
|
|
+import lombok.Data;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 最近文件对象 doc_recent
|
|
* 最近文件对象 doc_recent
|
|
@@ -14,6 +14,7 @@ import org.apache.commons.lang3.builder.ToStringStyle;
|
|
|
* @date 2023-08-21
|
|
* @date 2023-08-21
|
|
|
*/
|
|
*/
|
|
|
@ApiModel(value = "DocRecent", description = "最近文件")
|
|
@ApiModel(value = "DocRecent", description = "最近文件")
|
|
|
|
|
+@Data
|
|
|
public class DocRecent extends BaseEntity {
|
|
public class DocRecent extends BaseEntity {
|
|
|
private static final long serialVersionUID = 1L;
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
|
@@ -42,50 +43,9 @@ public class DocRecent extends BaseEntity {
|
|
|
@ApiModelProperty("所有人")
|
|
@ApiModelProperty("所有人")
|
|
|
private Long owner;
|
|
private Long owner;
|
|
|
|
|
|
|
|
- public void setRecentId(Long recentId) {
|
|
|
|
|
- this.recentId = recentId;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ @ApiModelProperty("文件/文件夹名称")
|
|
|
|
|
+ @TableField(exist = false)
|
|
|
|
|
+ private String name;
|
|
|
|
|
|
|
|
- public Long getRecentId() {
|
|
|
|
|
- return recentId;
|
|
|
|
|
- }
|
|
|
|
|
|
|
|
|
|
- public void setIsFolder(String isFolder) {
|
|
|
|
|
- this.isFolder = isFolder;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public String getIsFolder() {
|
|
|
|
|
- return isFolder;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public void setRelaId(Long relaId) {
|
|
|
|
|
- this.relaId = relaId;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public Long getRelaId() {
|
|
|
|
|
- return relaId;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public void setOwner(Long owner) {
|
|
|
|
|
- this.owner = owner;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public Long getOwner() {
|
|
|
|
|
- return owner;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- @Override
|
|
|
|
|
- public String toString() {
|
|
|
|
|
- return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
|
|
|
|
- .append("recentId", getRecentId())
|
|
|
|
|
- .append("isFolder", getIsFolder())
|
|
|
|
|
- .append("relaId", getRelaId())
|
|
|
|
|
- .append("owner", getOwner())
|
|
|
|
|
- .append("createBy", getCreateBy())
|
|
|
|
|
- .append("createTime", getCreateTime())
|
|
|
|
|
- .append("updateBy", getUpdateBy())
|
|
|
|
|
- .append("updateTime", getUpdateTime())
|
|
|
|
|
- .append("remark", getRemark())
|
|
|
|
|
- .toString();
|
|
|
|
|
- }
|
|
|
|
|
}
|
|
}
|