Browse Source

工作端--心理咨询-提交问题的回答DTO

master
zhangyuan 5 years ago
parent
commit
ab95b6a90c
  1. 59
      epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/psychology/form/PsychologySubmitAnswerFormDTO.java

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

@ -0,0 +1,59 @@
/**
* 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-08
*/
@Data
public class PsychologySubmitAnswerFormDTO implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 网格ID
*/
private Long gridId;
/**
* 用户ID
*/
private String userId;
/**
* 问题id
*/
@NotBlank(message = "问题id不能为空")
private String questionId;
/**
* 问题回复文本
*/
@NotBlank(message = "问题回复不能为空")
private String answerContent;
}
Loading…
Cancel
Save