This commit is contained in:
parent
5826ef0648
commit
9e4bed512b
|
@ -1,5 +1,6 @@
|
|||
package org.dromara.scale.domain.vo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import io.github.linpeilie.annotations.AutoMapper;
|
||||
import io.github.linpeilie.annotations.AutoMapping;
|
||||
import lombok.Data;
|
||||
|
@ -30,11 +31,15 @@ public class CounselorVo implements Serializable {
|
|||
*
|
||||
*/
|
||||
private Long id;
|
||||
|
||||
@JsonIgnore
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 姓名
|
||||
*/
|
||||
@Translation(type = TransConstant.USER_ID_TO_NICKNAME)
|
||||
@AutoMapping(target = "userId")
|
||||
private String name;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue