/* * 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.assessment.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; /** * 考核权重配置表 Excel实体类 * * @author Aix * @since 2024-02-21 */ @Data @ColumnWidth(25) @HeadRowHeight(20) @ContentRowHeight(18) public class AssessmentConfigExcel implements Serializable { private static final long serialVersionUID = 1L; /** * 被考核人 */ @ColumnWidth(20) @ExcelProperty("序号") private Long no; /** * 被考核人名称 */ @ColumnWidth(20) @ExcelProperty("被考核人") private String userName; /** * 被考核人部门名称 */ @ColumnWidth(20) @ExcelProperty("被考核人所在部门") private String deptName; /** * 考核人名称 */ @ColumnWidth(20) @ExcelProperty("考核人") private String assessorUserName; /** * 考核人部门名称 */ @ColumnWidth(20) @ExcelProperty("考核人所在部门") private String assessorDeptName; /** * 权值 */ @ColumnWidth(20) @ExcelProperty("总权值") private Integer weight; /** * 范围 */ @ColumnWidth(20) @ExcelProperty("可评分上下调整范围") private Integer rangeVal; }