1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-09-21 01:10:39 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

前端对象列表页面;文件对象管理页面后端Api;后端Api添加管理员身份验证

This commit is contained in:
2022-04-10 21:12:15 +08:00
parent 413411ddb6
commit c3139a6908
17 changed files with 326 additions and 88 deletions

View File

@@ -13,11 +13,11 @@ public class FileObjectDO {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column file_object_info.fileId
* This field corresponds to the database column file_object_info.file_id
*
* @mbg.generated
*/
private Integer fileid;
private Integer fileId;
/**
*
@@ -26,7 +26,7 @@ public class FileObjectDO {
*
* @mbg.generated
*/
private Byte storageMediumType;
private String storageMediumType;
/**
*
@@ -90,26 +90,26 @@ public class FileObjectDO {
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column file_object_info.fileId
* This method returns the value of the database column file_object_info.file_id
*
* @return the value of file_object_info.fileId
* @return the value of file_object_info.file_id
*
* @mbg.generated
*/
public Integer getFileid() {
return fileid;
public Integer getFileId() {
return fileId;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column file_object_info.fileId
* This method sets the value of the database column file_object_info.file_id
*
* @param fileid the value for file_object_info.fileId
* @param fileId the value for file_object_info.file_id
*
* @mbg.generated
*/
public void setFileid(Integer fileid) {
this.fileid = fileid;
public void setFileId(Integer fileId) {
this.fileId = fileId;
}
/**
@@ -120,7 +120,7 @@ public class FileObjectDO {
*
* @mbg.generated
*/
public Byte getStorageMediumType() {
public String getStorageMediumType() {
return storageMediumType;
}
@@ -132,8 +132,8 @@ public class FileObjectDO {
*
* @mbg.generated
*/
public void setStorageMediumType(Byte storageMediumType) {
this.storageMediumType = storageMediumType;
public void setStorageMediumType(String storageMediumType) {
this.storageMediumType = storageMediumType == null ? null : storageMediumType.trim();
}
/**