/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package org.springblade.modules.evaluate.excel; import com.alibaba.excel.annotation.ExcelProperty; import com.alibaba.excel.annotation.write.style.ColumnWidth; import com.alibaba.excel.annotation.write.style.ContentRowHeight; import com.alibaba.excel.annotation.write.style.HeadRowHeight; import lombok.Data; import java.io.Serializable; import java.util.Date; /** * 评优任务表 Excel实体类 * * @author aix * @since 2024-01-05 */ @Data @ColumnWidth(25) @HeadRowHeight(20) @ContentRowHeight(18) public class EvaluateTaskExcel implements Serializable { private static final long serialVersionUID = 1L; /** * 租户ID */ @ColumnWidth(20) @ExcelProperty("租户ID") private String tenantId; /** * 评优类型(0:员工评优,1:部门评优) */ @ColumnWidth(20) @ExcelProperty("评优类型(0:员工评优,1:部门评优)") private Integer type; /** * 任务名称 */ @ColumnWidth(20) @ExcelProperty("任务名称") private String taskName; /** * 第一轮开始日期 */ @ColumnWidth(20) @ExcelProperty("第一轮开始日期") private Date candidateCutoffTimeStart; /** * 第一轮结束日期 */ @ColumnWidth(20) @ExcelProperty("第一轮结束日期") private Date candidateCutoffTimeEnd; /** * 候选人状态(2已结束/1进行中) */ @ColumnWidth(20) @ExcelProperty("候选人状态(2已结束/1进行中)") private Integer candidateState; /** * 投票人员(多个用,分开) */ @ColumnWidth(20) @ExcelProperty("投票人员(多个用,分开)") private String pollingPersons; /** * 第二轮开始日期 */ @ColumnWidth(20) @ExcelProperty("第二轮开始日期") private Date evaluateCutoffTimeStart; /** * 第二轮结束日期 */ @ColumnWidth(20) @ExcelProperty("第二轮结束日期") private Date evaluateCutoffTimeEnd; /** * 评优评选状态(1进行中/0未开始) */ @ColumnWidth(20) @ExcelProperty("评优评选状态(1进行中/0未开始)") private Integer evaluateState; /** * 是否已删除 */ @ColumnWidth(20) @ExcelProperty("是否已删除") private Integer isDeleted; }