diff --git a/epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/psychology/form/PsychologistInfoFormDTO.java b/epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/psychology/form/PsychologistInfoFormDTO.java new file mode 100644 index 0000000..4144212 --- /dev/null +++ b/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 + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +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; +} \ No newline at end of file diff --git a/epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/psychology/result/PsychologistInfoResultDTO.java b/epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/psychology/result/PsychologistInfoResultDTO.java new file mode 100644 index 0000000..5b46f61 --- /dev/null +++ b/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 + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +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 title; +} \ No newline at end of file diff --git a/epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/psychology/result/PsychologistResultDTO.java b/epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/psychology/result/PsychologistResultDTO.java index 1bb2300..f39ae50 100644 --- a/epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/psychology/result/PsychologistResultDTO.java +++ b/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; + } \ No newline at end of file