9 changed files with 179 additions and 0 deletions
@ -0,0 +1,16 @@ |
|||||
|
package com.easy.admin.auth.model; |
||||
|
|
||||
|
|
||||
|
|
||||
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
@JsonIgnoreProperties(value = {"handler"}) |
||||
|
|
||||
|
public class RoleOV { |
||||
|
|
||||
|
private String roleId; |
||||
|
|
||||
|
private String roleName; |
||||
|
} |
@ -0,0 +1,21 @@ |
|||||
|
package com.easy.admin.auth.model; |
||||
|
|
||||
|
|
||||
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
|
||||
|
|
||||
|
@Data |
||||
|
@JsonIgnoreProperties(value = {"handler"}) |
||||
|
public class UserInfoRequest { |
||||
|
|
||||
|
|
||||
|
private String nickname; |
||||
|
|
||||
|
private String role; |
||||
|
|
||||
|
private String phoneNumber; |
||||
|
|
||||
|
private String workplace; |
||||
|
} |
@ -0,0 +1,24 @@ |
|||||
|
package com.easy.admin.auth.model; |
||||
|
|
||||
|
|
||||
|
|
||||
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
@Data |
||||
|
@JsonIgnoreProperties(value = {"handler"}) |
||||
|
public class UserInfoResponse { |
||||
|
|
||||
|
private String id; |
||||
|
private String nickname; |
||||
|
|
||||
|
private String sex; |
||||
|
|
||||
|
private String phoneNumber; |
||||
|
|
||||
|
private String workplace; |
||||
|
|
||||
|
private List<RoleOV> role; |
||||
|
} |
Loading…
Reference in new issue