咨询师后台数据优化
This commit is contained in:
parent
26e87fddb0
commit
5826ef0648
|
@ -36,6 +36,11 @@ public class Counselor extends BaseEntity {
|
||||||
*/
|
*/
|
||||||
private Long userId;
|
private Long userId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 手机号
|
||||||
|
*/
|
||||||
|
private String phonenumber;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 价格
|
* 价格
|
||||||
*/
|
*/
|
||||||
|
@ -54,6 +59,7 @@ public class Counselor extends BaseEntity {
|
||||||
/**
|
/**
|
||||||
* 封面组
|
* 封面组
|
||||||
*/
|
*/
|
||||||
|
|
||||||
private String covers;
|
private String covers;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
package org.dromara.scale.domain.vo;
|
package org.dromara.scale.domain.vo;
|
||||||
|
|
||||||
import io.github.linpeilie.annotations.AutoMapper;
|
import io.github.linpeilie.annotations.AutoMapper;
|
||||||
|
import io.github.linpeilie.annotations.AutoMapping;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
import org.dromara.common.translation.annotation.Translation;
|
||||||
|
import org.dromara.common.translation.constant.TransConstant;
|
||||||
import org.dromara.scale.domain.Counselor;
|
import org.dromara.scale.domain.Counselor;
|
||||||
|
|
||||||
import java.io.Serial;
|
import java.io.Serial;
|
||||||
|
@ -10,7 +13,6 @@ import java.math.BigDecimal;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 心理咨询师视图对象 m_counselor
|
* 心理咨询师视图对象 m_counselor
|
||||||
*
|
*
|
||||||
|
@ -32,8 +34,14 @@ public class CounselorVo implements Serializable {
|
||||||
/**
|
/**
|
||||||
* 姓名
|
* 姓名
|
||||||
*/
|
*/
|
||||||
|
@Translation(type = TransConstant.USER_ID_TO_NICKNAME)
|
||||||
private String name;
|
private String name;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 手机号
|
||||||
|
*/
|
||||||
|
private String phonenumber;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 价格
|
* 价格
|
||||||
*/
|
*/
|
||||||
|
@ -52,8 +60,13 @@ public class CounselorVo implements Serializable {
|
||||||
/**
|
/**
|
||||||
* 封面组
|
* 封面组
|
||||||
*/
|
*/
|
||||||
|
|
||||||
private String covers;
|
private String covers;
|
||||||
|
|
||||||
|
@Translation(type = TransConstant.OSS_ID_TO_URL)
|
||||||
|
@AutoMapping(target = "covers")
|
||||||
|
private String coversUrl;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 服务时长
|
* 服务时长
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue