/*
|
* 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.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;
|
|
/**
|
* EquipageExcel 保安公司装备
|
* @author zhongrj
|
* @since 2021-08-12
|
*/
|
@Data
|
@ColumnWidth(25)
|
@HeadRowHeight(20)
|
@ContentRowHeight(18)
|
public class EquipageExcel implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 保安公司名称
|
*/
|
@ColumnWidth(25)
|
@ExcelProperty("保安公司名称")
|
private String deptName;
|
|
/**
|
* 装备名称
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty("装备名称")
|
private String name;
|
|
// /**
|
// * 编号
|
// */
|
// @ColumnWidth(20)
|
// @ExcelProperty("编号")
|
// private String number;
|
//
|
// /**
|
// * 规格
|
// */
|
// @ColumnWidth(20)
|
// @ExcelProperty("规格")
|
// private String specifications;
|
|
/**
|
* 型号
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty("型号")
|
private String mode;
|
|
|
/**
|
* 数量
|
*/
|
@ColumnWidth(10)
|
@ExcelProperty("数量")
|
private Integer num;
|
|
/**
|
* 责任人
|
*/
|
@ColumnWidth(15)
|
@ExcelProperty("责任人名字")
|
private String personInCharge;
|
|
|
// /**
|
// * 责任人
|
// */
|
// @ColumnWidth(20)
|
// @ExcelProperty("责任人身份证号码")
|
// private String idCardNo;
|
|
/**
|
* 品牌,厂商
|
*/
|
@ColumnWidth(25)
|
@ExcelProperty("厂商名称")
|
private String brand;
|
|
|
/**
|
* 出厂日期
|
*/
|
@ColumnWidth(25)
|
@ExcelProperty("出厂日期")
|
private String dateForProduction;
|
|
|
}
|