From 803afe68037faac34b7b120505ffeed434580318 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期五, 14 七月 2023 14:06:40 +0800
Subject: [PATCH] 优化代码
---
java110-bean/src/main/java/com/java110/dto/questionAnswer/QuestionAnswerDto.java | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/java110-bean/src/main/java/com/java110/dto/questionAnswer/QuestionAnswerDto.java b/java110-bean/src/main/java/com/java110/dto/questionAnswer/QuestionAnswerDto.java
index 3b73792..42f8c67 100755
--- a/java110-bean/src/main/java/com/java110/dto/questionAnswer/QuestionAnswerDto.java
+++ b/java110-bean/src/main/java/com/java110/dto/questionAnswer/QuestionAnswerDto.java
@@ -18,6 +18,8 @@
public class QuestionAnswerDto extends PageDto implements Serializable {
public static final String QA_TYPE_VOTE = "3003";// 涓氫富鎶曠エ
+ public static final String STATE_WAIT = "W"; // 寰呭彂甯�
+ public static final String STATE_COMPLETE = "C"; //鍙戝竷瀹屾垚
private String qaName;
private String qaType;
@@ -28,6 +30,7 @@
private String content;
private String qaId;
+ private String titleType;
private Date createTime;
@@ -38,6 +41,8 @@
private long votedCount; // 宸叉姇绁ㄤ汉鏁�
private List<QuestionTitleValueDto> titleValues;
+
+ private String state;
public String getQaName() {
return qaName;
@@ -143,4 +148,20 @@
public void setVotedCount(long votedCount) {
this.votedCount = votedCount;
}
+
+ public String getTitleType() {
+ return titleType;
+ }
+
+ public void setTitleType(String titleType) {
+ this.titleType = titleType;
+ }
+
+ public String getState() {
+ return state;
+ }
+
+ public void setState(String state) {
+ this.state = state;
+ }
}
--
Gitblit v1.8.0