3 changed files with 317 additions and 0 deletions
@ -0,0 +1,91 @@ |
|||
/** |
|||
* 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; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
import lombok.Data; |
|||
|
|||
|
|||
/** |
|||
* 心理问题答复表 |
|||
* |
|||
* @author zhangyuan qu@elink-cn.com |
|||
* @since v1.0.0 2020-06-08 |
|||
*/ |
|||
@Data |
|||
public class PsychologyAnswerDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 主键 |
|||
*/ |
|||
private String id; |
|||
|
|||
/** |
|||
* 问题id |
|||
*/ |
|||
private String questionId; |
|||
|
|||
/** |
|||
* 咨询师id(被绑定的管理端用户id) |
|||
*/ |
|||
private String psychologistId; |
|||
|
|||
/** |
|||
* 咨询师名称 |
|||
*/ |
|||
private String psychologistName; |
|||
|
|||
/** |
|||
* 回复问题的内容 |
|||
*/ |
|||
private String answerContent; |
|||
|
|||
/** |
|||
* 删除标记 0:未删除,1:已删除 |
|||
*/ |
|||
private String delFlag; |
|||
|
|||
/** |
|||
* 乐观锁 |
|||
*/ |
|||
private Integer revision; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String createdBy; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private Date createdTime; |
|||
|
|||
/** |
|||
* 更新人 |
|||
*/ |
|||
private String updatedBy; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private Date updatedTime; |
|||
|
|||
} |
@ -0,0 +1,111 @@ |
|||
/** |
|||
* 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; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
import lombok.Data; |
|||
|
|||
|
|||
/** |
|||
* 心理问题提问表 |
|||
* |
|||
* @author zhangyuan qu@elink-cn.com |
|||
* @since v1.0.0 2020-06-08 |
|||
*/ |
|||
@Data |
|||
public class PsychologyQuestionDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 主键 |
|||
*/ |
|||
private String id; |
|||
|
|||
/** |
|||
* 提问者 用户id |
|||
*/ |
|||
private String userId; |
|||
|
|||
/** |
|||
* 提问者用户名 |
|||
*/ |
|||
private String userName; |
|||
|
|||
/** |
|||
* 用户的头像 |
|||
*/ |
|||
private String userAvatar; |
|||
|
|||
/** |
|||
* 问题内容 |
|||
*/ |
|||
private String questionContent; |
|||
|
|||
/** |
|||
* 已匿名 0否 1是 |
|||
*/ |
|||
private String anonymousFlag; |
|||
|
|||
/** |
|||
* 咨询师id (被绑定的管理端用户id)用户指定向谁提问 |
|||
*/ |
|||
private String psychologistId; |
|||
|
|||
/** |
|||
* 问题已几有人回复 |
|||
*/ |
|||
private Integer answerNum; |
|||
|
|||
/** |
|||
* 是否展示 0否 ,1是 |
|||
*/ |
|||
private String displayFlag; |
|||
|
|||
/** |
|||
* 删除标记 0:未删除,1:已删除 |
|||
*/ |
|||
private String delFlag; |
|||
|
|||
/** |
|||
* 乐观锁 |
|||
*/ |
|||
private Integer revision; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String createdBy; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private Date createdTime; |
|||
|
|||
/** |
|||
* 更新人 |
|||
*/ |
|||
private String updatedBy; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private Date updatedTime; |
|||
|
|||
} |
@ -0,0 +1,115 @@ |
|||
/** |
|||
* 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 PsychologyQuestionFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 主键 |
|||
*/ |
|||
private String id; |
|||
|
|||
/** |
|||
* 提问者 用户id |
|||
*/ |
|||
private String userId; |
|||
|
|||
/** |
|||
* 提问者用户名 |
|||
*/ |
|||
private String userName; |
|||
|
|||
/** |
|||
* 用户的头像 |
|||
*/ |
|||
private String userAvatar; |
|||
|
|||
/** |
|||
* 问题内容 |
|||
*/ |
|||
@NotBlank(message = "问题内容不能为空") |
|||
private String questionContent; |
|||
|
|||
/** |
|||
* 已匿名 0否 1是 |
|||
*/ |
|||
@NotBlank(message = "是否匿名不能为空") |
|||
private String anonymousFlag; |
|||
|
|||
/** |
|||
* 咨询师id (被绑定的管理端用户id)用户指定向谁提问 |
|||
*/ |
|||
private String psychologistId; |
|||
|
|||
/** |
|||
* 问题已几有人回复 |
|||
*/ |
|||
private Integer answerNum; |
|||
|
|||
/** |
|||
* 是否展示 0否 ,1是 |
|||
*/ |
|||
private String displayFlag; |
|||
|
|||
/** |
|||
* 删除标记 0:未删除,1:已删除 |
|||
*/ |
|||
private String delFlag; |
|||
|
|||
/** |
|||
* 乐观锁 |
|||
*/ |
|||
private Integer revision; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String createdBy; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private Date createdTime; |
|||
|
|||
/** |
|||
* 更新人 |
|||
*/ |
|||
private String updatedBy; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private Date updatedTime; |
|||
|
|||
} |
Loading…
Reference in new issue