forked from rongchao/epmet-cloud-rizhao
11 changed files with 233 additions and 5 deletions
@ -0,0 +1,31 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.Min; |
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Description 项目跟踪-项目满意度评价列表-接口入参 |
||||
|
* @Author sun |
||||
|
*/ |
||||
|
@Data |
||||
|
public class EvaluationListFormDTO implements Serializable { |
||||
|
private static final long serialVersionUID = 4859779755214502427L; |
||||
|
|
||||
|
@NotBlank(message = "项目Id不能为空") |
||||
|
private String projectId; |
||||
|
|
||||
|
/** |
||||
|
* 请求页码 |
||||
|
* */ |
||||
|
@Min(1) |
||||
|
private int pageNo; |
||||
|
|
||||
|
/** |
||||
|
* 每页多少条数据 |
||||
|
* */ |
||||
|
private int pageSize = 20; |
||||
|
} |
||||
|
|
@ -0,0 +1,65 @@ |
|||||
|
/** |
||||
|
* 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.epmet.dto.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 项目跟踪-项目满意度评价列表-接口返参 |
||||
|
* |
||||
|
* @author sun |
||||
|
*/ |
||||
|
@Data |
||||
|
public class EvaluationListResultDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* 评价用户id |
||||
|
*/ |
||||
|
private String userId = ""; |
||||
|
|
||||
|
/** |
||||
|
* 评论人员全称(街道-姓氏先生/女士) |
||||
|
*/ |
||||
|
private String userNickName = ""; |
||||
|
|
||||
|
/** |
||||
|
* 满意程度(不满意:bad、基本满意:good、非常满意:perfect) |
||||
|
*/ |
||||
|
private String satisfaction = ""; |
||||
|
|
||||
|
/** |
||||
|
* 评价时间 |
||||
|
*/ |
||||
|
private Long evaluateTime; |
||||
|
|
||||
|
/** |
||||
|
* 评价内容 |
||||
|
*/ |
||||
|
private String evaluateContent = ""; |
||||
|
|
||||
|
/** |
||||
|
* 头像 |
||||
|
*/ |
||||
|
private String userHeadPhoto = ""; |
||||
|
|
||||
|
} |
Loading…
Reference in new issue