mirror of
https://gitee.com/bookshelfplus/bookshelfplus
synced 2025-09-21 01:10:39 +08:00
后端获取文件列表 Api 完成
This commit is contained in:
@@ -82,7 +82,7 @@ public class FileDO {
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
private Byte bookOrigin;
|
||||
private String bookOrigin;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -118,16 +118,7 @@ public class FileDO {
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
private Integer fileSize;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_info.hash_md5
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
private String hashMd5;
|
||||
private Long fileSize;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -138,15 +129,6 @@ public class FileDO {
|
||||
*/
|
||||
private String hashSha1;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_info.hash_sha256
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
private String hashSha256;
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_info.id
|
||||
@@ -347,7 +329,7 @@ public class FileDO {
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public Byte getBookOrigin() {
|
||||
public String getBookOrigin() {
|
||||
return bookOrigin;
|
||||
}
|
||||
|
||||
@@ -359,8 +341,8 @@ public class FileDO {
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public void setBookOrigin(Byte bookOrigin) {
|
||||
this.bookOrigin = bookOrigin;
|
||||
public void setBookOrigin(String bookOrigin) {
|
||||
this.bookOrigin = bookOrigin == null ? null : bookOrigin.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -443,7 +425,7 @@ public class FileDO {
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public Integer getFileSize() {
|
||||
public Long getFileSize() {
|
||||
return fileSize;
|
||||
}
|
||||
|
||||
@@ -455,34 +437,10 @@ public class FileDO {
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public void setFileSize(Integer fileSize) {
|
||||
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.hash_md5
|
||||
*
|
||||
* @return the value of file_info.hash_md5
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public String getHashMd5() {
|
||||
return hashMd5;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_info.hash_md5
|
||||
*
|
||||
* @param hashMd5 the value for file_info.hash_md5
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public void setHashMd5(String hashMd5) {
|
||||
this.hashMd5 = hashMd5 == null ? null : hashMd5.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_info.hash_sha1
|
||||
@@ -506,28 +464,4 @@ public class FileDO {
|
||||
public void setHashSha1(String hashSha1) {
|
||||
this.hashSha1 = hashSha1 == null ? null : hashSha1.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_info.hash_sha256
|
||||
*
|
||||
* @return the value of file_info.hash_sha256
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public String getHashSha256() {
|
||||
return hashSha256;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_info.hash_sha256
|
||||
*
|
||||
* @param hashSha256 the value for file_info.hash_sha256
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public void setHashSha256(String hashSha256) {
|
||||
this.hashSha256 = hashSha256 == null ? null : hashSha256.trim();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user