init
This commit is contained in:
@@ -30,16 +30,19 @@ public class DynamicAddReq {
|
||||
*/
|
||||
@Schema(description = "是否有附件")
|
||||
private Integer isAttach;
|
||||
@Schema(description = "照片列表")
|
||||
private List<DynamicImageVo> imageList;
|
||||
/**
|
||||
* 状态 0 审核中 1可用 2 不可用
|
||||
*/
|
||||
@Schema(hidden = true)
|
||||
private Integer status;
|
||||
/**
|
||||
* 排序字段
|
||||
*/
|
||||
@Schema(hidden = true)
|
||||
private Long sort;
|
||||
|
||||
@Schema(hidden = true)
|
||||
private LocalDateTime createTime;
|
||||
@Schema(description = "照片列表")
|
||||
private List<DynamicImageVo> imageList;
|
||||
|
||||
}
|
||||
|
||||
@@ -8,6 +8,7 @@ import java.time.LocalDateTime;
|
||||
@Data
|
||||
public class DynamicImageVo {
|
||||
|
||||
@Schema(hidden = true)
|
||||
private Long id;
|
||||
/**
|
||||
* 用户ID
|
||||
@@ -17,6 +18,7 @@ public class DynamicImageVo {
|
||||
/**
|
||||
* 动态ID
|
||||
*/
|
||||
@Schema(hidden = true)
|
||||
private Long dynamicId;
|
||||
/**
|
||||
* 物理路径
|
||||
@@ -27,12 +29,12 @@ public class DynamicImageVo {
|
||||
* 宽度
|
||||
*/
|
||||
@Schema(description = "宽度")
|
||||
private Long width;
|
||||
private Integer width;
|
||||
/**
|
||||
* 高度
|
||||
*/
|
||||
@Schema(description = "高度")
|
||||
private Long height;
|
||||
private Integer height;
|
||||
/**
|
||||
* 图片大小
|
||||
*/
|
||||
@@ -44,5 +46,6 @@ public class DynamicImageVo {
|
||||
@Schema(description = "类型")
|
||||
private String exts;
|
||||
|
||||
@Schema(hidden = true)
|
||||
private LocalDateTime createTime;
|
||||
}
|
||||
|
||||
@@ -21,6 +21,6 @@ public class DynamicListVo extends DynamicVo{
|
||||
private String avatar;
|
||||
@Schema(description = "昵称")
|
||||
private String nickname;
|
||||
@Schema(description = "是否点赞")
|
||||
@Schema(description = "是否关注用户")
|
||||
private boolean star;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user