fix: include badge fields in live user list
This commit is contained in:
parent
3692e61b1c
commit
a1979f2be7
@ -1,9 +1,10 @@
|
|||||||
package com.red.circle.live.app.dto.clientobject;
|
package com.red.circle.live.app.dto.clientobject;
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||||
import com.red.circle.other.inner.model.dto.user.OwnSpecialIdDTO;
|
import com.red.circle.other.inner.model.dto.user.OwnSpecialIdDTO;
|
||||||
import com.red.circle.other.inner.model.dto.user.props.UserUsePropsDTO;
|
import com.red.circle.other.inner.model.dto.user.props.UserUseBadgeDTO;
|
||||||
|
import com.red.circle.other.inner.model.dto.user.props.UserUsePropsDTO;
|
||||||
import java.io.Serial;
|
import java.io.Serial;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@ -59,24 +60,39 @@ public class LiveMicUserCO implements Serializable {
|
|||||||
*/
|
*/
|
||||||
private OwnSpecialIdDTO ownSpecialId;
|
private OwnSpecialIdDTO ownSpecialId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 使用的道具.
|
* 使用的道具.
|
||||||
*/
|
*/
|
||||||
private List<UserUsePropsDTO> useProps;
|
private List<UserUsePropsDTO> useProps;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 佩戴的徽章.
|
||||||
|
*/
|
||||||
|
private List<UserUseBadgeDTO> wearBadge;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 佩戴的荣誉徽章.
|
||||||
|
*/
|
||||||
|
private List<UserUseBadgeDTO> wearHonor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 角色.
|
* 角色.
|
||||||
*/
|
*/
|
||||||
private String roles;
|
private String roles;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 魅力等级.
|
* 魅力等级.
|
||||||
*/
|
*/
|
||||||
private Integer charmLevel;
|
private Integer charmLevel;
|
||||||
|
|
||||||
|
/**
|
||||||
/**
|
* 财富等级.
|
||||||
* 心动值
|
*/
|
||||||
|
private Integer wealthLevel;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 心动值
|
||||||
*/
|
*/
|
||||||
private Long heartbeatVal;
|
private Long heartbeatVal;
|
||||||
|
|
||||||
|
|||||||
@ -1,10 +1,11 @@
|
|||||||
package com.red.circle.live.domain.live;
|
package com.red.circle.live.domain.live;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||||
import com.red.circle.other.inner.model.dto.user.OwnSpecialIdDTO;
|
import com.red.circle.other.inner.model.dto.user.OwnSpecialIdDTO;
|
||||||
import com.red.circle.other.inner.model.dto.user.props.UserUsePropsDTO;
|
import com.red.circle.other.inner.model.dto.user.props.UserUseBadgeDTO;
|
||||||
|
import com.red.circle.other.inner.model.dto.user.props.UserUsePropsDTO;
|
||||||
import java.io.Serial;
|
import java.io.Serial;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@ -61,20 +62,35 @@ public class LiveMicUser implements Serializable {
|
|||||||
*/
|
*/
|
||||||
private OwnSpecialIdDTO ownSpecialId;
|
private OwnSpecialIdDTO ownSpecialId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 使用的道具.
|
* 使用的道具.
|
||||||
*/
|
*/
|
||||||
private List<UserUsePropsDTO> useProps;
|
private List<UserUsePropsDTO> useProps;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 佩戴的徽章.
|
||||||
|
*/
|
||||||
|
private List<UserUseBadgeDTO> wearBadge;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 佩戴的荣誉徽章.
|
||||||
|
*/
|
||||||
|
private List<UserUseBadgeDTO> wearHonor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 角色.
|
* 角色.
|
||||||
*/
|
*/
|
||||||
private String roles;
|
private String roles;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 魅力等级.
|
* 魅力等级.
|
||||||
*/
|
*/
|
||||||
private Integer charmLevel;
|
private Integer charmLevel;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 财富等级.
|
||||||
|
*/
|
||||||
|
private Integer wealthLevel;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 心动值
|
* 心动值
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user