From 1a21d93cbf6af597b328df1f7815cc7e7c8ef573 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期四, 24 八月 2023 17:45:19 +0800
Subject: [PATCH] 优化代码

---
 java110-bean/src/main/java/com/java110/dto/questionAnswer/QuestionAnswerDto.java |  115 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 115 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 7d26970..c7bb545 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
@@ -1,9 +1,12 @@
 package com.java110.dto.questionAnswer;
 
 import com.java110.dto.PageDto;
+import com.java110.dto.questionTitle.QuestionTitleDto;
+import com.java110.dto.questionTitleValue.QuestionTitleValueDto;
 
 import java.io.Serializable;
 import java.util.Date;
+import java.util.List;
 
 /**
  * @ClassName FloorDto
@@ -16,6 +19,10 @@
 public class QuestionAnswerDto extends PageDto implements Serializable {
 
     public static final String QA_TYPE_VOTE = "3003";// 涓氫富鎶曠エ
+    public static final String QA_TYPE_QUESTION = "1001";// 涓氫富闂嵎
+
+    public static final String STATE_WAIT = "W"; // 寰呭彂甯�
+    public static final String STATE_COMPLETE = "C"; //鍙戝竷瀹屾垚
 
     private String qaName;
     private String qaType;
@@ -26,11 +33,31 @@
     private String content;
     private String qaId;
 
+    private String titleType;
 
     private Date createTime;
 
     private String statusCd = "0";
 
+    private long voteCount; // 鎬绘姇绁ㄤ汉鏁�
+
+    private long votedCount; // 宸叉姇绁ㄤ汉鏁�
+
+    private long score;
+
+    private String ownerName;
+
+    private String link;
+
+    private String roomName;
+
+    private List<QuestionTitleValueDto> titleValues;
+
+    private List<QuestionTitleDto> titles;
+
+    private String state;
+
+    private String userQaId;
 
     public String getQaName() {
         return qaName;
@@ -112,4 +139,92 @@
     public void setStatusCd(String statusCd) {
         this.statusCd = statusCd;
     }
+
+    public List<QuestionTitleValueDto> getTitleValues() {
+        return titleValues;
+    }
+
+    public void setTitleValues(List<QuestionTitleValueDto> titleValues) {
+        this.titleValues = titleValues;
+    }
+
+    public long getVoteCount() {
+        return voteCount;
+    }
+
+    public void setVoteCount(long voteCount) {
+        this.voteCount = voteCount;
+    }
+
+    public long getVotedCount() {
+        return votedCount;
+    }
+
+    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;
+    }
+
+    public String getOwnerName() {
+        return ownerName;
+    }
+
+    public void setOwnerName(String ownerName) {
+        this.ownerName = ownerName;
+    }
+
+    public String getLink() {
+        return link;
+    }
+
+    public void setLink(String link) {
+        this.link = link;
+    }
+
+    public String getRoomName() {
+        return roomName;
+    }
+
+    public void setRoomName(String roomName) {
+        this.roomName = roomName;
+    }
+
+    public String getUserQaId() {
+        return userQaId;
+    }
+
+    public void setUserQaId(String userQaId) {
+        this.userQaId = userQaId;
+    }
+
+    public List<QuestionTitleDto> getTitles() {
+        return titles;
+    }
+
+    public void setTitles(List<QuestionTitleDto> titles) {
+        this.titles = titles;
+    }
+
+    public long getScore() {
+        return score;
+    }
+
+    public void setScore(long score) {
+        this.score = score;
+    }
 }

--
Gitblit v1.8.0