优化图片展示字段
This commit is contained in:
parent
f19b1fb480
commit
68c65cde33
|
@ -1,6 +1,7 @@
|
|||
package org.dromara.file.domain.vo;
|
||||
|
||||
import io.github.linpeilie.annotations.AutoMapper;
|
||||
import io.github.linpeilie.annotations.AutoMapping;
|
||||
import lombok.Data;
|
||||
import org.dromara.common.translation.annotation.Translation;
|
||||
import org.dromara.common.translation.constant.TransConstant;
|
||||
|
@ -52,8 +53,11 @@ public class SysHomeBannerVo implements Serializable {
|
|||
/**
|
||||
* 封面
|
||||
*/
|
||||
@Translation(type = TransConstant.OSS_ID_TO_URL)
|
||||
|
||||
private Long cover;
|
||||
@Translation(type = TransConstant.OSS_ID_TO_URL)
|
||||
@AutoMapping(target = "cover")
|
||||
private Long coverUrl;
|
||||
|
||||
/**
|
||||
* 0-下架,1-上架
|
||||
|
|
Loading…
Reference in New Issue