This commit is contained in:
77
2024-03-18 20:42:53 +08:00
parent a75e7b3257
commit 79927fb17d
8 changed files with 167 additions and 10 deletions

View File

@@ -0,0 +1,10 @@
package com.ruoyi.xq.dto.app.uservisitor;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
@Data
public class UserVisitorQuery {
@Schema(hidden = true)
private Long userId;
}

View File

@@ -0,0 +1,30 @@
package com.ruoyi.xq.dto.app.uservisitor.vo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.time.LocalDate;
@Data
public class UserVisitorListVo {
@Schema(description = "用户ID")
private Long userId;
@Schema(description = "用户头像")
private String avatar;
@Schema(description = "性别 0-未知 1-女 2-男")
private Integer gender;
@Schema(description = "昵称")
private String nickname;
@Schema(description = "生日")
private LocalDate birthday;
@Schema(description = "生日-缩减显示")
private String birthdayStr;
@Schema(description = "居住城市")
private String residenceCity;
@Schema(description = "学历")
private Integer education;
@Schema(description = "职业")
private String profession;
@Schema(description = "访问次数")
private Integer visitorNum;
}