Browse Source

问题列表DTO

master
zhangyuan 5 years ago
parent
commit
5cef4b856b
  1. 1
      epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/psychology/form/PsychologistFormDTO.java
  2. 1
      epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/psychology/form/PsychologistInfoFormDTO.java
  3. 64
      epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/psychology/form/PsychologyAnswerFormDTO.java
  4. 51
      epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/psychology/result/PsychologyAnswerInfoResultDTO.java
  5. 67
      epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/psychology/result/PsychologyAnswerListResultDTO.java
  6. 72
      epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/psychology/result/PsychologyAnswerListUserResultDTO.java
  7. 56
      epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/psychology/result/PsychologyAnswerUserInfoResultDTO.java

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

@ -42,7 +42,6 @@ public class PsychologistFormDTO implements Serializable {
@NotBlank(message = "查询标识不能为空") @NotBlank(message = "查询标识不能为空")
private String allFlag; private String allFlag;
/** /**
* 网格ID * 网格ID
*/ */

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

@ -40,7 +40,6 @@ public class PsychologistInfoFormDTO implements Serializable {
@NotBlank(message = "ID不能为空") @NotBlank(message = "ID不能为空")
private String psychologistId; private String psychologistId;
/** /**
* 网格ID * 网格ID
*/ */

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

@ -0,0 +1,64 @@
/**
* 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;
import java.util.Date;
/**
* 心理问题答复表
*
* @author zhangyuan qu@elink-cn.com
* @since v1.0.0 2020-06-08
*/
@Data
public class PsychologyAnswerFormDTO implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 网格ID
*/
private Long gridId;
/**
* 用户ID
*/
private String userId;
/**
* 页码
*/
@NotBlank(message = "页码不能为空")
private String pageIndex;
/**
* 页容量
*/
@NotBlank(message = "页容量不能为空")
private String pageSize;
/**
* 第一页查询发起时的时间
*/
private String timestamp;
}

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

@ -0,0 +1,51 @@
/**
* 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;
/**
* 心理问题答复表
*
* @author zhangyuan qu@elink-cn.com
* @since v1.0.0 2020-06-08
*/
@Data
public class PsychologyAnswerInfoResultDTO implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 咨询师id被绑定的管理端用户id
*/
private String psychologistId;
/**
* 咨询师名称
*/
private String psychologistName;
/**
* 回复问题的内容
*/
private String answerContent;
}

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

@ -0,0 +1,67 @@
/**
* 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-08
*/
@Data
public class PsychologyAnswerListResultDTO implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 问题id
*/
private String id;
/**
* 提问用户id
*/
private String userId;
/**
* 提问用户名称
*/
private String userName;
/**
* 提问用户头像
*/
private String userAvatar;
/**
* 问题内容
*/
private String questionContent;
/**
*
*/
private List<PsychologyAnswerInfoResultDTO> answerList;
}

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

@ -0,0 +1,72 @@
/**
* 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-08
*/
@Data
public class PsychologyAnswerListUserResultDTO implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 问题id
*/
private String id;
/**
* 提问用户id
*/
private String userId;
/**
* 提问用户名称
*/
private String userName;
/**
* 提问用户头像
*/
private String userAvatar;
/**
* 问题内容
*/
private String questionContent;
/**
* 提问发布时间 yyyy.MM.dd HH:mm
*/
private String questionTime;
/**
*
*/
private List<PsychologyAnswerUserInfoResultDTO> answerList;
}

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

@ -0,0 +1,56 @@
/**
* 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;
/**
* 心理问题答复表
*
* @author zhangyuan qu@elink-cn.com
* @since v1.0.0 2020-06-08
*/
@Data
public class PsychologyAnswerUserInfoResultDTO implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 咨询师id被绑定的管理端用户id
*/
private String psychologistId;
/**
* 咨询师名称
*/
private String psychologistName;
/**
* 回复问题的内容
*/
private String answerContent;
/**
* 问题被回复时间 yyyy.MM.dd
*/
private String answerTime;
}
Loading…
Cancel
Save