Browse Source

心理咨询师详细dto

master
zhangyuan 5 years ago
parent
commit
8d6661a0e7
  1. 48
      epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/psychology/form/PsychologistInfoFormDTO.java
  2. 66
      epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/psychology/result/PsychologistInfoResultDTO.java
  3. 1
      epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/psychology/result/PsychologistResultDTO.java

48
epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/psychology/form/PsychologistInfoFormDTO.java

@ -0,0 +1,48 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.dto.psychology.form;
import lombok.Data;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;
/**
* 心理咨询师表
*
* @author zhangyuan qu@elink-cn.com
* @since v1.0.0 2020-06-04
*/
@Data
public class PsychologistInfoFormDTO implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 心理咨询师id
*/
@NotBlank(message = "ID不能为空")
private String psychologistId;
/**
* 网格ID
*/
private Long gridId;
}

66
epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/psychology/result/PsychologistInfoResultDTO.java

@ -0,0 +1,66 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.dto.psychology.result;
import lombok.Data;
import java.io.Serializable;
import java.util.List;
/**
* 心理咨询师表
*
* @author zhangyuan qu@elink-cn.com
* @since v1.0.0 2020-06-04
*/
@Data
public class PsychologistInfoResultDTO implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
private String id;
/**
* 咨询师姓名
*/
private String name;
/**
* 咨询师照片地址
*/
private String avatar;
/**
* 座右铭
*/
private String motto;
/**
* 简介
*/
private String briefIntroduction;
/**
* 头衔
*/
private List<String> title;
}

1
epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/psychology/result/PsychologistResultDTO.java

@ -54,4 +54,5 @@ public class PsychologistResultDTO implements Serializable {
* 座右铭 * 座右铭
*/ */
private String motto; private String motto;
} }
Loading…
Cancel
Save