39 changed files with 1115 additions and 42 deletions
@ -0,0 +1,26 @@ |
|||
package com.epmet.dto; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* 评价信息 |
|||
*/ |
|||
@Data |
|||
public class EvaluateInfoDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 评价内容 |
|||
*/ |
|||
private String evaluateContent; |
|||
|
|||
/** |
|||
* 满意度 - 不满意:bad、基本满意:good、非常满意:perfect |
|||
*/ |
|||
private String satisfaction; |
|||
|
|||
} |
@ -0,0 +1,32 @@ |
|||
package com.epmet.dto; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* 投票折线数据 |
|||
* @CreateTime 2020/5/11 9:36 |
|||
*/ |
|||
@Data |
|||
public class PolyLineDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 投票日期 |
|||
*/ |
|||
private Long voteDtae; |
|||
|
|||
/** |
|||
* 当日赞成票数量 |
|||
*/ |
|||
private Integer supportIncrement; |
|||
|
|||
/** |
|||
* 当日反对票数量 |
|||
*/ |
|||
private Integer oppositionIncrement; |
|||
|
|||
} |
@ -0,0 +1,37 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* 提交满意度评价 |
|||
*/ |
|||
@Data |
|||
public class EvaluateFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 议题Id |
|||
*/ |
|||
private String IssueId; |
|||
|
|||
/** |
|||
* 满意度 - 不满意:bad、基本满意:good、非常满意:perfect |
|||
*/ |
|||
private String satisfaction; |
|||
|
|||
/** |
|||
* 评价内容 |
|||
*/ |
|||
private String comment; |
|||
|
|||
/** |
|||
* 用户id |
|||
*/ |
|||
private String userId; |
|||
|
|||
|
|||
} |
@ -0,0 +1,27 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* 满意度评价初始化 |
|||
*/ |
|||
@Data |
|||
public class InitEvaluationFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 议题Id |
|||
*/ |
|||
private String IssueId; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String userId; |
|||
|
|||
|
|||
} |
@ -0,0 +1,21 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description 议题Id |
|||
* @Author zxc |
|||
* @Date 2020/5/11 9:30 |
|||
*/ |
|||
@Data |
|||
public class IssueIdFormDTO implements Serializable { |
|||
private static final long serialVersionUID = 4859779755214503489L; |
|||
|
|||
@NotBlank(message = "议题id不能为空") |
|||
private String issueId; |
|||
|
|||
} |
|||
|
@ -0,0 +1,32 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* 表决中 支持、反对 投票 |
|||
*/ |
|||
@Data |
|||
public class VoteFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 话题Id |
|||
*/ |
|||
private String IssueId; |
|||
|
|||
/** |
|||
* 态度 - opposition(反对)support(赞成) |
|||
*/ |
|||
private String attitude; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String createdBy; |
|||
|
|||
|
|||
} |
@ -0,0 +1,27 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import com.epmet.dto.EvaluateInfoDTO; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* 满意度评价初始化 |
|||
*/ |
|||
@Data |
|||
public class InitEvaluationResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -1L; |
|||
|
|||
/** |
|||
* 评价状态:true已评价,false未评价 |
|||
*/ |
|||
private Boolean status; |
|||
|
|||
/** |
|||
* 评价信息 |
|||
*/ |
|||
private EvaluateInfoDTO evaluateInfo; |
|||
|
|||
} |
@ -0,0 +1,32 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* 表决中议题详情——支持、反对数 |
|||
*/ |
|||
@Data |
|||
public class VoteResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -1L; |
|||
|
|||
/** |
|||
* 表决状态:true已表决 false未表决 |
|||
*/ |
|||
private Boolean voteFlag; |
|||
|
|||
/** |
|||
* 支持数量 |
|||
*/ |
|||
private Integer supportCount; |
|||
|
|||
/** |
|||
* 反对数量 |
|||
*/ |
|||
private Integer oppositionCount; |
|||
|
|||
|
|||
} |
@ -0,0 +1,44 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import com.epmet.dto.PolyLineDTO; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* 议题表决折线图 |
|||
* @CreateTime 2020/5/11 9:36 |
|||
*/ |
|||
@Data |
|||
public class VotingTrendResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -1L; |
|||
|
|||
/** |
|||
* 应表决数量 |
|||
*/ |
|||
private Integer shouldVoteCount; |
|||
|
|||
/** |
|||
* 实际表决数量 |
|||
*/ |
|||
private Integer realityVoteCount; |
|||
|
|||
/** |
|||
* 截至今日赞成票总数 |
|||
*/ |
|||
private Integer supportAmount; |
|||
|
|||
/** |
|||
* 截至今日反对票总数 |
|||
*/ |
|||
private Integer oppositionAmount; |
|||
|
|||
/** |
|||
* 投票折线数据 |
|||
*/ |
|||
private List<PolyLineDTO> polyLine; |
|||
|
|||
} |
@ -0,0 +1,26 @@ |
|||
package com.epmet.dto; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* 评价信息 |
|||
*/ |
|||
@Data |
|||
public class EvaluateInfoDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 评价内容 |
|||
*/ |
|||
private String evaluateContent; |
|||
|
|||
/** |
|||
* 满意度 - 不满意:bad、基本满意:good、非常满意:perfect |
|||
*/ |
|||
private String satisfaction; |
|||
|
|||
} |
@ -0,0 +1,37 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* 提交满意度评价 |
|||
*/ |
|||
@Data |
|||
public class EvaluateFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 议题Id |
|||
*/ |
|||
private String IssueId; |
|||
|
|||
/** |
|||
* 满意度 - 不满意:bad、基本满意:good、非常满意:perfect |
|||
*/ |
|||
private String satisfaction; |
|||
|
|||
/** |
|||
* 评价内容 |
|||
*/ |
|||
private String comment; |
|||
|
|||
/** |
|||
* 用户ID |
|||
*/ |
|||
private String userId; |
|||
|
|||
|
|||
} |
@ -0,0 +1,27 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* 满意度评价初始化 |
|||
*/ |
|||
@Data |
|||
public class InitEvaluationFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 议题Id |
|||
*/ |
|||
private String IssueId; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String userId; |
|||
|
|||
|
|||
} |
@ -0,0 +1,32 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* 表决中 支持、反对 投票 |
|||
*/ |
|||
@Data |
|||
public class VoteFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 议题Id |
|||
*/ |
|||
private String IssueId; |
|||
|
|||
/** |
|||
* 态度 - opposition(反对)support(赞成) |
|||
*/ |
|||
private String attitude; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String createdBy; |
|||
|
|||
|
|||
} |
@ -0,0 +1,28 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import com.epmet.dto.EvaluateInfoDTO; |
|||
import com.sun.org.apache.xpath.internal.operations.Bool; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* 满意度评价初始化 |
|||
*/ |
|||
@Data |
|||
public class InitEvaluationResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -1L; |
|||
|
|||
/** |
|||
* 评价状态:true已评价,false未评价 |
|||
*/ |
|||
private Boolean status; |
|||
|
|||
/** |
|||
* 评价信息 |
|||
*/ |
|||
private EvaluateInfoDTO evaluateInfo; |
|||
|
|||
} |
@ -0,0 +1,32 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* 表决中议题详情——支持、反对数 |
|||
*/ |
|||
@Data |
|||
public class VoteResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -1L; |
|||
|
|||
/** |
|||
* 表决状态:true已表决 false未表决 |
|||
*/ |
|||
private Boolean voteFlag; |
|||
|
|||
/** |
|||
* 支持数量 |
|||
*/ |
|||
private Integer supportCount; |
|||
|
|||
/** |
|||
* 反对数量 |
|||
*/ |
|||
private Integer oppositionCount; |
|||
|
|||
|
|||
} |
Loading…
Reference in new issue