mirror of
https://gitee.com/bookshelfplus/bookshelfplus
synced 2025-09-21 01:10:39 +08:00
数据库 file_info, file_object_info 大调整;删除ScheduleTask代码及数据库
This commit is contained in:
@@ -21,15 +21,6 @@ public class FileDO {
|
||||
*/
|
||||
private Integer bookId;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_info.file_display_name
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
private String fileDisplayName;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
@@ -42,11 +33,29 @@ public class FileDO {
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_info.file_format
|
||||
* This field corresponds to the database column file_info.file_ext
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
private String fileFormat;
|
||||
private String fileExt;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_info.file_size
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
private Long fileSize;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_info.file_sha1
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
private String fileSha1;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -78,11 +87,11 @@ public class FileDO {
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_info.book_origin
|
||||
* This field corresponds to the database column file_info.source
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
private String bookOrigin;
|
||||
private String source;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -102,24 +111,6 @@ public class FileDO {
|
||||
*/
|
||||
private Date fileModifiedAt;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_info.file_size
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
private Long fileSize;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_info.file_sha1
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
private String fileSha1;
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_info.id
|
||||
@@ -168,30 +159,6 @@ public class FileDO {
|
||||
this.bookId = bookId;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_info.file_display_name
|
||||
*
|
||||
* @return the value of file_info.file_display_name
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public String getFileDisplayName() {
|
||||
return fileDisplayName;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_info.file_display_name
|
||||
*
|
||||
* @param fileDisplayName the value for file_info.file_display_name
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public void setFileDisplayName(String fileDisplayName) {
|
||||
this.fileDisplayName = fileDisplayName == null ? null : fileDisplayName.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_info.file_name
|
||||
@@ -218,26 +185,74 @@ public class FileDO {
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_info.file_format
|
||||
* This method returns the value of the database column file_info.file_ext
|
||||
*
|
||||
* @return the value of file_info.file_format
|
||||
* @return the value of file_info.file_ext
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public String getFileFormat() {
|
||||
return fileFormat;
|
||||
public String getFileExt() {
|
||||
return fileExt;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_info.file_format
|
||||
* This method sets the value of the database column file_info.file_ext
|
||||
*
|
||||
* @param fileFormat the value for file_info.file_format
|
||||
* @param fileExt the value for file_info.file_ext
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public void setFileFormat(String fileFormat) {
|
||||
this.fileFormat = fileFormat == null ? null : fileFormat.trim();
|
||||
public void setFileExt(String fileExt) {
|
||||
this.fileExt = fileExt == null ? null : fileExt.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_info.file_size
|
||||
*
|
||||
* @return the value of file_info.file_size
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public Long getFileSize() {
|
||||
return fileSize;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_info.file_size
|
||||
*
|
||||
* @param fileSize the value for file_info.file_size
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public void setFileSize(Long fileSize) {
|
||||
this.fileSize = fileSize;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_info.file_sha1
|
||||
*
|
||||
* @return the value of file_info.file_sha1
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public String getFileSha1() {
|
||||
return fileSha1;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_info.file_sha1
|
||||
*
|
||||
* @param fileSha1 the value for file_info.file_sha1
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public void setFileSha1(String fileSha1) {
|
||||
this.fileSha1 = fileSha1 == null ? null : fileSha1.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -314,26 +329,26 @@ public class FileDO {
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_info.book_origin
|
||||
* This method returns the value of the database column file_info.source
|
||||
*
|
||||
* @return the value of file_info.book_origin
|
||||
* @return the value of file_info.source
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public String getBookOrigin() {
|
||||
return bookOrigin;
|
||||
public String getSource() {
|
||||
return source;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_info.book_origin
|
||||
* This method sets the value of the database column file_info.source
|
||||
*
|
||||
* @param bookOrigin the value for file_info.book_origin
|
||||
* @param source the value for file_info.source
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public void setBookOrigin(String bookOrigin) {
|
||||
this.bookOrigin = bookOrigin == null ? null : bookOrigin.trim();
|
||||
public void setSource(String source) {
|
||||
this.source = source == null ? null : source.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -383,52 +398,4 @@ public class FileDO {
|
||||
public void setFileModifiedAt(Date fileModifiedAt) {
|
||||
this.fileModifiedAt = fileModifiedAt;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_info.file_size
|
||||
*
|
||||
* @return the value of file_info.file_size
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public Long getFileSize() {
|
||||
return fileSize;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_info.file_size
|
||||
*
|
||||
* @param fileSize the value for file_info.file_size
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public void setFileSize(Long fileSize) {
|
||||
this.fileSize = fileSize;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_info.file_sha1
|
||||
*
|
||||
* @return the value of file_info.file_sha1
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public String getFileSha1() {
|
||||
return fileSha1;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_info.file_sha1
|
||||
*
|
||||
* @param fileSha1 the value for file_info.file_sha1
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public void setFileSha1(String fileSha1) {
|
||||
this.fileSha1 = fileSha1 == null ? null : fileSha1.trim();
|
||||
}
|
||||
}
|
@@ -22,38 +22,20 @@ public class FileObjectDO {
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_object_info.file_name
|
||||
* This field corresponds to the database column file_object_info.upload_status
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
private String fileName;
|
||||
private String uploadStatus;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_object_info.file_size
|
||||
* This field corresponds to the database column file_object_info.storage_medium
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
private Long fileSize;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_object_info.file_type
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
private String fileType;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_object_info.storage_medium_type
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
private String storageMediumType;
|
||||
private String storageMedium;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -82,24 +64,6 @@ public class FileObjectDO {
|
||||
*/
|
||||
private String fileShareCode;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_object_info.upload_status
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
private String uploadStatus;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_object_info.file_sha1
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
private String fileSha1;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
@@ -109,15 +73,6 @@ public class FileObjectDO {
|
||||
*/
|
||||
private Long lastModified;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_object_info.additional_fields
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
private String additionalFields;
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_object_info.id
|
||||
@@ -168,98 +123,50 @@ public class FileObjectDO {
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_object_info.file_name
|
||||
* This method returns the value of the database column file_object_info.upload_status
|
||||
*
|
||||
* @return the value of file_object_info.file_name
|
||||
* @return the value of file_object_info.upload_status
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public String getFileName() {
|
||||
return fileName;
|
||||
public String getUploadStatus() {
|
||||
return uploadStatus;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_object_info.file_name
|
||||
* This method sets the value of the database column file_object_info.upload_status
|
||||
*
|
||||
* @param fileName the value for file_object_info.file_name
|
||||
* @param uploadStatus the value for file_object_info.upload_status
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public void setFileName(String fileName) {
|
||||
this.fileName = fileName == null ? null : fileName.trim();
|
||||
public void setUploadStatus(String uploadStatus) {
|
||||
this.uploadStatus = uploadStatus == null ? null : uploadStatus.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_object_info.file_size
|
||||
* This method returns the value of the database column file_object_info.storage_medium
|
||||
*
|
||||
* @return the value of file_object_info.file_size
|
||||
* @return the value of file_object_info.storage_medium
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public Long getFileSize() {
|
||||
return fileSize;
|
||||
public String getStorageMedium() {
|
||||
return storageMedium;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_object_info.file_size
|
||||
* This method sets the value of the database column file_object_info.storage_medium
|
||||
*
|
||||
* @param fileSize the value for file_object_info.file_size
|
||||
* @param storageMedium the value for file_object_info.storage_medium
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public void setFileSize(Long fileSize) {
|
||||
this.fileSize = fileSize;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_object_info.file_type
|
||||
*
|
||||
* @return the value of file_object_info.file_type
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public String getFileType() {
|
||||
return fileType;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_object_info.file_type
|
||||
*
|
||||
* @param fileType the value for file_object_info.file_type
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public void setFileType(String fileType) {
|
||||
this.fileType = fileType == null ? null : fileType.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_object_info.storage_medium_type
|
||||
*
|
||||
* @return the value of file_object_info.storage_medium_type
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public String getStorageMediumType() {
|
||||
return storageMediumType;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_object_info.storage_medium_type
|
||||
*
|
||||
* @param storageMediumType the value for file_object_info.storage_medium_type
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public void setStorageMediumType(String storageMediumType) {
|
||||
this.storageMediumType = storageMediumType == null ? null : storageMediumType.trim();
|
||||
public void setStorageMedium(String storageMedium) {
|
||||
this.storageMedium = storageMedium == null ? null : storageMedium.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -334,54 +241,6 @@ public class FileObjectDO {
|
||||
this.fileShareCode = fileShareCode == null ? null : fileShareCode.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_object_info.upload_status
|
||||
*
|
||||
* @return the value of file_object_info.upload_status
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public String getUploadStatus() {
|
||||
return uploadStatus;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_object_info.upload_status
|
||||
*
|
||||
* @param uploadStatus the value for file_object_info.upload_status
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public void setUploadStatus(String uploadStatus) {
|
||||
this.uploadStatus = uploadStatus == null ? null : uploadStatus.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_object_info.file_sha1
|
||||
*
|
||||
* @return the value of file_object_info.file_sha1
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public String getFileSha1() {
|
||||
return fileSha1;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_object_info.file_sha1
|
||||
*
|
||||
* @param fileSha1 the value for file_object_info.file_sha1
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public void setFileSha1(String fileSha1) {
|
||||
this.fileSha1 = fileSha1 == null ? null : fileSha1.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_object_info.last_modified
|
||||
@@ -405,28 +264,4 @@ public class FileObjectDO {
|
||||
public void setLastModified(Long lastModified) {
|
||||
this.lastModified = lastModified;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_object_info.additional_fields
|
||||
*
|
||||
* @return the value of file_object_info.additional_fields
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public String getAdditionalFields() {
|
||||
return additionalFields;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_object_info.additional_fields
|
||||
*
|
||||
* @param additionalFields the value for file_object_info.additional_fields
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public void setAdditionalFields(String additionalFields) {
|
||||
this.additionalFields = additionalFields == null ? null : additionalFields.trim();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user