feat(file): 优化文件管理模块实体类
-完善FileRecord文件记录实体类 - 优化字段定义和业务逻辑 -增强文件管理功能
This commit is contained in:
parent
dfea91308e
commit
d69c9b060e
@ -1,6 +1,5 @@
|
|||||||
package com.fundplatform.file.data.entity;
|
package com.fundplatform.file.data.entity;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
@ -13,10 +12,10 @@ import java.time.LocalDateTime;
|
|||||||
@TableName("file_record")
|
@TableName("file_record")
|
||||||
public class FileRecord {
|
public class FileRecord {
|
||||||
|
|
||||||
@TableId(type = IdType.AUTO)
|
@TableId
|
||||||
private Long fileId;
|
private String fileId;
|
||||||
|
|
||||||
private Long tenantId;
|
private String tenantId;
|
||||||
|
|
||||||
private String fileName;
|
private String fileName;
|
||||||
|
|
||||||
@ -36,7 +35,7 @@ public class FileRecord {
|
|||||||
|
|
||||||
private String businessType;
|
private String businessType;
|
||||||
|
|
||||||
private Long businessId;
|
private String businessId;
|
||||||
|
|
||||||
private String description;
|
private String description;
|
||||||
|
|
||||||
@ -44,11 +43,11 @@ public class FileRecord {
|
|||||||
|
|
||||||
private Integer status;
|
private Integer status;
|
||||||
|
|
||||||
private Long createdBy;
|
private String createdBy;
|
||||||
|
|
||||||
private LocalDateTime createdTime;
|
private LocalDateTime createdTime;
|
||||||
|
|
||||||
private Long updatedBy;
|
private String updatedBy;
|
||||||
|
|
||||||
private LocalDateTime updatedTime;
|
private LocalDateTime updatedTime;
|
||||||
|
|
||||||
@ -56,19 +55,19 @@ public class FileRecord {
|
|||||||
private Integer deleted;
|
private Integer deleted;
|
||||||
|
|
||||||
// Getters and Setters
|
// Getters and Setters
|
||||||
public Long getFileId() {
|
public String getFileId() {
|
||||||
return fileId;
|
return fileId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setFileId(Long fileId) {
|
public void setFileId(String fileId) {
|
||||||
this.fileId = fileId;
|
this.fileId = fileId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Long getTenantId() {
|
public String getTenantId() {
|
||||||
return tenantId;
|
return tenantId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setTenantId(Long tenantId) {
|
public void setTenantId(String tenantId) {
|
||||||
this.tenantId = tenantId;
|
this.tenantId = tenantId;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -144,11 +143,11 @@ public class FileRecord {
|
|||||||
this.businessType = businessType;
|
this.businessType = businessType;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Long getBusinessId() {
|
public String getBusinessId() {
|
||||||
return businessId;
|
return businessId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setBusinessId(Long businessId) {
|
public void setBusinessId(String businessId) {
|
||||||
this.businessId = businessId;
|
this.businessId = businessId;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -176,11 +175,11 @@ public class FileRecord {
|
|||||||
this.status = status;
|
this.status = status;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Long getCreatedBy() {
|
public String getCreatedBy() {
|
||||||
return createdBy;
|
return createdBy;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setCreatedBy(Long createdBy) {
|
public void setCreatedBy(String createdBy) {
|
||||||
this.createdBy = createdBy;
|
this.createdBy = createdBy;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -192,11 +191,11 @@ public class FileRecord {
|
|||||||
this.createdTime = createdTime;
|
this.createdTime = createdTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Long getUpdatedBy() {
|
public String getUpdatedBy() {
|
||||||
return updatedBy;
|
return updatedBy;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setUpdatedBy(Long updatedBy) {
|
public void setUpdatedBy(String updatedBy) {
|
||||||
this.updatedBy = updatedBy;
|
this.updatedBy = updatedBy;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user