专题资源添加文件url
This commit is contained in:
parent
24c77bf396
commit
0d1f98811b
|
@ -1,7 +1,10 @@
|
||||||
package org.dromara.system.domain.vo;
|
package org.dromara.system.domain.vo;
|
||||||
|
|
||||||
import io.github.linpeilie.annotations.AutoMapper;
|
import io.github.linpeilie.annotations.AutoMapper;
|
||||||
|
import io.github.linpeilie.annotations.AutoMapping;
|
||||||
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.SysCatalogResource;
|
import org.dromara.system.domain.SysCatalogResource;
|
||||||
|
|
||||||
import java.io.Serial;
|
import java.io.Serial;
|
||||||
|
@ -55,6 +58,9 @@ public class SysCatalogResourceVo implements Serializable {
|
||||||
* 封面
|
* 封面
|
||||||
*/
|
*/
|
||||||
private Long cover;
|
private Long cover;
|
||||||
|
@Translation(type = TransConstant.OSS_ID_TO_URL)
|
||||||
|
@AutoMapping(target = "cover")
|
||||||
|
private Long coverUrl;
|
||||||
/**
|
/**
|
||||||
* 资源数量
|
* 资源数量
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue