feat: 添加获取当前用户积分余额的接口
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
package com.gameplatform.server.model.dto.account;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
|
||||
@Schema(description = "用户积分余额响应")
|
||||
public class PointsBalanceResponse {
|
||||
@Schema(description = "用户ID")
|
||||
private Long userId;
|
||||
|
||||
@Schema(description = "用户名")
|
||||
private String username;
|
||||
|
||||
@Schema(description = "用户类型")
|
||||
private String userType;
|
||||
|
||||
@Schema(description = "积分余额")
|
||||
private Long pointsBalance;
|
||||
|
||||
public Long getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(Long userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public String getUsername() {
|
||||
return username;
|
||||
}
|
||||
|
||||
public void setUsername(String username) {
|
||||
this.username = username;
|
||||
}
|
||||
|
||||
public String getUserType() {
|
||||
return userType;
|
||||
}
|
||||
|
||||
public void setUserType(String userType) {
|
||||
this.userType = userType;
|
||||
}
|
||||
|
||||
public Long getPointsBalance() {
|
||||
return pointsBalance;
|
||||
}
|
||||
|
||||
public void setPointsBalance(Long pointsBalance) {
|
||||
this.pointsBalance = pointsBalance;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user