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

+ * 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-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; + +} \ No newline at end of file