我的空间列表增加字段;
This commit is contained in:
parent
312d307772
commit
f007ff0ff2
|
@ -1,12 +1,11 @@
|
||||||
package org.dromara.system.domain.vo;
|
package org.dromara.system.domain.vo;
|
||||||
|
|
||||||
import org.dromara.system.domain.SysOssPerson;
|
|
||||||
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
|
||||||
import com.alibaba.excel.annotation.ExcelProperty;
|
import com.alibaba.excel.annotation.ExcelProperty;
|
||||||
import org.dromara.common.excel.annotation.ExcelDictFormat;
|
|
||||||
import org.dromara.common.excel.convert.ExcelDictConvert;
|
|
||||||
import io.github.linpeilie.annotations.AutoMapper;
|
import io.github.linpeilie.annotations.AutoMapper;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
import org.dromara.common.translation.annotation.Translation;
|
||||||
|
import org.dromara.common.translation.constant.TransConstant;
|
||||||
|
import org.dromara.system.domain.SysOssPerson;
|
||||||
|
|
||||||
import java.io.Serial;
|
import java.io.Serial;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
@ -21,7 +20,6 @@ import java.util.Date;
|
||||||
* @date 2024-06-13
|
* @date 2024-06-13
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
@ExcelIgnoreUnannotated
|
|
||||||
@AutoMapper(target = SysOssPerson.class)
|
@AutoMapper(target = SysOssPerson.class)
|
||||||
public class SysOssPersonVo implements Serializable {
|
public class SysOssPersonVo implements Serializable {
|
||||||
|
|
||||||
|
@ -31,25 +29,21 @@ public class SysOssPersonVo implements Serializable {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@ExcelProperty(value = "")
|
|
||||||
private Long id;
|
private Long id;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@ExcelProperty(value = "")
|
|
||||||
private Long ossId;
|
private Long ossId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@ExcelProperty(value = "")
|
|
||||||
private Long catalogId;
|
private Long catalogId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@ExcelProperty(value = "")
|
|
||||||
private String fileName;
|
private String fileName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -58,5 +52,20 @@ public class SysOssPersonVo implements Serializable {
|
||||||
@ExcelProperty(value = "")
|
@ExcelProperty(value = "")
|
||||||
private String filePath;
|
private String filePath;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文件后缀名
|
||||||
|
*/
|
||||||
|
private String fileSuffix;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 容量
|
||||||
|
*/
|
||||||
|
private String volume;
|
||||||
|
|
||||||
|
private Date createTime;
|
||||||
|
|
||||||
|
@Translation(type = TransConstant.USER_ID_TO_NAME)
|
||||||
|
private Long createBy;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,7 +18,6 @@ import java.util.Date;
|
||||||
* @date 2024-05-28
|
* @date 2024-05-28
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
|
|
||||||
@AutoMapper(target = SysOssResource.class)
|
@AutoMapper(target = SysOssResource.class)
|
||||||
public class SysOssResourceVo implements Serializable {
|
public class SysOssResourceVo implements Serializable {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue