20 changed files with 438 additions and 10 deletions
@ -0,0 +1,107 @@ |
|||||
|
/** |
||||
|
* 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.elink.esua.epdc.dto.evaluate.result; |
||||
|
|
||||
|
import com.elink.esua.epdc.dto.evaluate.EvaluateSelectOption; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
import java.util.List; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 评价信息表 评价信息表 |
||||
|
* |
||||
|
* @author qu qu@elink-cn.com |
||||
|
* @since v1.0.0 2020-02-06 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class EvaluateInfoResultDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* 主键 |
||||
|
*/ |
||||
|
private String id; |
||||
|
|
||||
|
/** |
||||
|
* 提交人姓名 |
||||
|
*/ |
||||
|
private String fullName; |
||||
|
|
||||
|
/** |
||||
|
* 联系电话 |
||||
|
*/ |
||||
|
private String mobile; |
||||
|
|
||||
|
/** |
||||
|
* 干部ID 干部信息表主键 |
||||
|
*/ |
||||
|
private String officerId; |
||||
|
|
||||
|
/** |
||||
|
* 评价类别(1.点赞,2.吐槽) |
||||
|
*/ |
||||
|
private Integer roleCode; |
||||
|
|
||||
|
/** |
||||
|
* 评价内容 |
||||
|
*/ |
||||
|
private String content; |
||||
|
|
||||
|
/** |
||||
|
* 乐观锁 |
||||
|
*/ |
||||
|
private Integer revision; |
||||
|
|
||||
|
/** |
||||
|
* 删除标识 0:否,1:是 |
||||
|
*/ |
||||
|
private String delFlag; |
||||
|
|
||||
|
/** |
||||
|
* 创建人 |
||||
|
*/ |
||||
|
private String createdBy; |
||||
|
|
||||
|
/** |
||||
|
* 创建时间 |
||||
|
*/ |
||||
|
private Date createdTime; |
||||
|
|
||||
|
/** |
||||
|
* 更新人 |
||||
|
*/ |
||||
|
private String updatedBy; |
||||
|
|
||||
|
/** |
||||
|
* 更新时间 |
||||
|
*/ |
||||
|
private Date updatedTime; |
||||
|
|
||||
|
private Integer optionCount; |
||||
|
|
||||
|
/** |
||||
|
* 评价选项 |
||||
|
*/ |
||||
|
private List<EvaluateSelectOption> optionsList; |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,77 @@ |
|||||
|
/** |
||||
|
* 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.elink.esua.epdc.modules.evaluate.excel; |
||||
|
|
||||
|
import cn.afterturn.easypoi.excel.annotation.Excel; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.Date; |
||||
|
|
||||
|
/** |
||||
|
* 评价部门表 评价部门表 |
||||
|
* |
||||
|
* @author qu qu@elink-cn.com |
||||
|
* @since v1.0.0 2020-02-05 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class EvaluateDeptCountExcel { |
||||
|
|
||||
|
@Excel(name = "主键") |
||||
|
private String id; |
||||
|
|
||||
|
@Excel(name = "部门ID") |
||||
|
private String deptId; |
||||
|
|
||||
|
@Excel(name = "部门名称") |
||||
|
private String deptName; |
||||
|
|
||||
|
@Excel(name = "干部人数") |
||||
|
private Integer officerCount; |
||||
|
|
||||
|
/** |
||||
|
* 被评价干部人数 |
||||
|
*/ |
||||
|
@Excel(name = "被评价干部人数") |
||||
|
private Integer beEvaluatedCount; |
||||
|
|
||||
|
/** |
||||
|
* 评价总人数 |
||||
|
*/ |
||||
|
@Excel(name = "评价总人数") |
||||
|
private Integer evaluatePeopleCount; |
||||
|
|
||||
|
/** |
||||
|
* 评价总次数 |
||||
|
*/ |
||||
|
@Excel(name = "评价总次数") |
||||
|
private Integer evaluateCount; |
||||
|
|
||||
|
/** |
||||
|
* 被点赞总次数 |
||||
|
*/ |
||||
|
@Excel(name = "被点赞总次数") |
||||
|
private Integer likeCount; |
||||
|
|
||||
|
/** |
||||
|
* 被吐槽总次数 |
||||
|
*/ |
||||
|
@Excel(name = "被吐槽总次数") |
||||
|
private Integer opposeCount; |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,77 @@ |
|||||
|
/** |
||||
|
* 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.elink.esua.epdc.modules.evaluate.excel; |
||||
|
|
||||
|
import cn.afterturn.easypoi.excel.annotation.Excel; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* 干部信息表 干部信息表 |
||||
|
* |
||||
|
* @author qu qu@elink-cn.com |
||||
|
* @since v1.0.0 2020-02-05 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class EvaluateOfficerCountExcel { |
||||
|
|
||||
|
/*@Excel(name = "主键") |
||||
|
private String id; |
||||
|
|
||||
|
@Excel(name = "部门ID 部门表主键ID") |
||||
|
private String deptId;*/ |
||||
|
|
||||
|
@Excel(name = "干部姓名") |
||||
|
private String fullName; |
||||
|
|
||||
|
@Excel(name = "性别", replace = {"女_0", "男_1"}) |
||||
|
private String sex; |
||||
|
|
||||
|
@Excel(name = "单位职务") |
||||
|
private String position; |
||||
|
|
||||
|
@Excel(name = "点赞次数") |
||||
|
private Integer likesCount; |
||||
|
|
||||
|
@Excel(name = "被踩次数") |
||||
|
private Integer opposeCount; |
||||
|
|
||||
|
/** |
||||
|
* 评价总人数 |
||||
|
*/ |
||||
|
@Excel(name = "评价总人数") |
||||
|
private Integer evaluatePeopleCount; |
||||
|
|
||||
|
/** |
||||
|
* 评价总次数 |
||||
|
*/ |
||||
|
@Excel(name = "评价总次数") |
||||
|
private Integer evaluateCount; |
||||
|
|
||||
|
/** |
||||
|
* 点赞选项次数 |
||||
|
*/ |
||||
|
@Excel(name = "点赞选项次数") |
||||
|
private Integer likesOptionCount; |
||||
|
|
||||
|
/** |
||||
|
* 吐槽选项次数 |
||||
|
*/ |
||||
|
@Excel(name = "吐槽选项次数") |
||||
|
private Integer opposeOptionCount; |
||||
|
|
||||
|
} |
Loading…
Reference in new issue