智慧保安后台管理-外网项目备份
zhongrj
2023-12-01 bed0d07586e148a43a03dcfa233bfe443dcb78b2
src/main/java/org/springblade/modules/system/excel/SecurityExcel.java
@@ -4,7 +4,11 @@
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 io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springblade.common.excel.ExcelDictConverter;
import org.springblade.common.excel.ExcelDictItemLabel;
import java.io.Serializable;
/**
@@ -31,8 +35,9 @@
   @ExcelProperty("联系电话*")
   private String phone;
   @ExcelProperty("性别*(男/女)")
   @ExcelProperty(value = "性别*(男/女)",converter = ExcelDictConverter.class)
   @ColumnWidth(10)
   @ExcelDictItemLabel(type = "sex")
   private String sex;
   @ExcelProperty("身份证号*")
@@ -50,8 +55,9 @@
   @ColumnWidth(20)
   private String unitName;
   @ExcelProperty("最高学历*(初中及以下/高中/中技/中专/大专/本科/博士/硕士)")
   @ExcelProperty(value = "最高学历*(初中及以下/高中/中技/中专/大专/本科/博士/硕士)",converter = ExcelDictConverter.class)
   @ColumnWidth(20)
   @ExcelDictItemLabel(type = "educationType")
   private String education;
   @ExcelProperty("政治面貌*")
@@ -60,6 +66,43 @@
   @ExcelProperty("联系地址*")
   private String address;
   /**
    * 婚姻状态
    */
   @ExcelProperty(value = "婚姻状态*(未婚/已婚/离异/丧偶)",converter = ExcelDictConverter.class)
   @ExcelDictItemLabel(type = "marriageStatusType")
   private String marriageStatus;
   /**
    * 报考等级
    */
   @ExcelProperty(value = "报考等级(初级/中级/高级/特级)",converter = ExcelDictConverter.class)
   @ExcelDictItemLabel(type = "signLevelType")
   private String signLevel;
   /**
    * 户籍地址
    */
   @ExcelProperty(value = "户籍地址")
   private String permanentResidenceAddress;
   /**
    * 居住地址
    */
   @ExcelProperty(value = "居住地址")
   private String dwellAddress;
   /**
    * 家庭主要成员及联系方式
    */
   @ExcelProperty(value = "家庭主要成员及联系方式")
   private String memberOfFamily;
   /**
    * 工作经历
    */
   @ExcelProperty(value = "工作经历")
   private String workExperience;
   /**
    * 教育经历
    */
   @ExcelProperty(value = "教育经历")
   private String educationExperience;
}