仿真用户数据里增加creator字段
This commit is contained in:
parent
993c081dbd
commit
a5f22ad154
@ -20,6 +20,8 @@ public class SimulationUserVO {
|
||||
|
||||
private Long userId;
|
||||
|
||||
private boolean creator;
|
||||
|
||||
private String nickName;
|
||||
|
||||
private ProjectDeviceVO deviceVO;
|
||||
@ -61,6 +63,7 @@ public class SimulationUserVO {
|
||||
|
||||
public SimulationUserVO(SimulationUser simulationUser) {
|
||||
this.userId = simulationUser.getUser().getId();
|
||||
this.creator = simulationUser.isCreator();
|
||||
this.nickName = simulationUser.getUser().getNickname();
|
||||
this.deviceVO = simulationUser.getProjectDevice();
|
||||
this.referee = simulationUser.isReferee();
|
||||
|
Loading…
Reference in New Issue
Block a user