123
This commit is contained in:
@@ -1,19 +1,26 @@
|
||||
package com.ruoyi.cai.dto.app.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@Schema(description = "动态扩展用户信息模型")
|
||||
public class DynamicListVo extends DynamicVo{
|
||||
|
||||
@Schema(description = "年龄")
|
||||
private Integer age;
|
||||
/**
|
||||
* 性别 0 未知 1 女 2 男
|
||||
*/
|
||||
@Schema(description = "性别")
|
||||
private Integer gender;
|
||||
@Schema(description = "头像")
|
||||
private String avatar;
|
||||
@Schema(description = "昵称")
|
||||
private String nickname;
|
||||
@Schema(description = "是否点赞")
|
||||
private boolean star;
|
||||
}
|
||||
|
||||
@@ -7,6 +7,7 @@ import java.time.LocalDateTime;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@Schema(description = "动态模型")
|
||||
public class DynamicVo {
|
||||
/**
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user