init
This commit is contained in:
@@ -49,6 +49,9 @@ public class DynamicListVo {
|
||||
@Schema(description = "点赞数")
|
||||
private Long starNum;
|
||||
|
||||
@Schema(description = "是否点赞")
|
||||
private boolean star = false;
|
||||
|
||||
@Schema(description = "图片列表")
|
||||
private List<String> imageList;
|
||||
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
package com.ruoyi.xq.dto.app.dynamic;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class MyDynamicListVo {
|
||||
|
||||
@Schema(description = "动态ID")
|
||||
private Long id;
|
||||
@Schema(description = "用户ID")
|
||||
private Long userId;
|
||||
|
||||
@Schema(description = "头像")
|
||||
private String avatar;
|
||||
|
||||
@Schema(description = "昵称")
|
||||
private String nickname;
|
||||
|
||||
@Schema(description = "年龄")
|
||||
private Integer age;
|
||||
|
||||
private LocalDate birthday;
|
||||
@Schema(description = "性别 0-未知 1-女 2-男")
|
||||
private Integer gender;
|
||||
/**
|
||||
* 居住城市
|
||||
*/
|
||||
@Schema(description = "居住城市")
|
||||
private String residenceCity;
|
||||
/**
|
||||
* 学历
|
||||
*/
|
||||
@Schema(description = "学历")
|
||||
private Integer education;
|
||||
/**
|
||||
* 职业
|
||||
*/
|
||||
@Schema(description = "职业")
|
||||
private String profession;
|
||||
|
||||
@Schema(description = "内容")
|
||||
private String content;
|
||||
|
||||
@Schema(description = "点赞数")
|
||||
private Long starNum;
|
||||
|
||||
/**
|
||||
* 1-待审核 2-审核成功 3-审核失败
|
||||
*/
|
||||
@Schema(description = "1-待审核 2-审核成功 3-审核失败")
|
||||
private Integer auditStatus;
|
||||
/**
|
||||
* 审核备注
|
||||
*/
|
||||
@Schema(description = "审核备注")
|
||||
private String auditRemark;
|
||||
|
||||
|
||||
@Schema(description = "图片列表")
|
||||
private List<String> imageList;
|
||||
|
||||
@Schema(description = "创建时间")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user