From 9216a33af037b8502f93e98a36320ab86f0910bf Mon Sep 17 00:00:00 2001 From: zhangyuan Date: Mon, 8 Jun 2020 10:43:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BF=83=E7=90=86=E5=92=A8=E8=AF=A2=E5=B8=88?= =?UTF-8?q?=E5=88=97=E8=A1=A8dto?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../psychology/form/PsychologistFormDTO.java | 50 ++++++++++++++++ .../result/PsychologistResultDTO.java | 57 +++++++++++++++++++ 2 files changed, 107 insertions(+) create mode 100644 epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/psychology/form/PsychologistFormDTO.java create mode 100644 epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/psychology/result/PsychologistResultDTO.java diff --git a/epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/psychology/form/PsychologistFormDTO.java b/epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/psychology/form/PsychologistFormDTO.java new file mode 100644 index 0000000..02a0c65 --- /dev/null +++ b/epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/psychology/form/PsychologistFormDTO.java @@ -0,0 +1,50 @@ +/** + * 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; +import java.util.Date; +import java.util.List; + + +/** + * 心理咨询师表 + * + * @author zhangyuan qu@elink-cn.com + * @since v1.0.0 2020-06-04 + */ +@Data +public class PsychologistFormDTO implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * 是否查询全部 0否 1是 。0查询前4个,1查询全部 + */ + @NotBlank(message = "查询标识不能为空") + private String allFlag; + + + /** + * 网格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/PsychologistResultDTO.java b/epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/psychology/result/PsychologistResultDTO.java new file mode 100644 index 0000000..1bb2300 --- /dev/null +++ b/epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/psychology/result/PsychologistResultDTO.java @@ -0,0 +1,57 @@ +/** + * 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.Date; +import java.util.List; + + +/** + * 心理咨询师表 + * + * @author zhangyuan qu@elink-cn.com + * @since v1.0.0 2020-06-04 + */ +@Data +public class PsychologistResultDTO implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * 主键 + */ + private String id; + + /** + * 咨询师姓名 + */ + private String name; + + /** + * 咨询师照片地址 + */ + private String avatar; + + /** + * 座右铭 + */ + private String motto; +} \ No newline at end of file