/* * 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.equipage.excel; import com.alibaba.excel.annotation.ExcelProperty; import com.alibaba.excel.annotation.format.DateTimeFormat; 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 com.baomidou.mybatisplus.annotation.TableField; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; import java.io.Serializable; import java.util.Date; /** * EquipageExcel 保安公司装备 * @author zhongrj * @since 2021-08-12 */ @Data @ColumnWidth(25) @HeadRowHeight(20) @ContentRowHeight(18) public class CarExcel implements Serializable { private static final long serialVersionUID = 1L; /** * 保安公司名称 */ @ColumnWidth(30) @ExcelProperty("企业名称") private String deptId; /** * 车牌号码 */ @ColumnWidth(20) @ExcelProperty("车牌号码*") private String carNumber; // /** // * 号码种类 // */ // @ColumnWidth(20) // @ExcelProperty("号码种类") // private String numberType; // // /** // * 车辆类型 // */ // @ColumnWidth(20) // @ExcelProperty("车辆类型") // private String carType; /** * 车辆型号 */ @ColumnWidth(20) @ExcelProperty("车辆型号*") private String mode; /** * 责任人 */ @ColumnWidth(20) @ExcelProperty("责任人") private String personInCharge; /** * 厂商 */ @ColumnWidth(10) @ExcelProperty("厂商名称") private String brand; // // /** // * 出厂日期 // */ // @ColumnWidth(20) // @DateTimeFormat("yyyy-MM-dd") // private Date dateForProduction; /** * 环保标志 ,国IV */ @ColumnWidth(10) @ExcelProperty("环保标志") private String umweltsatz; }