parent
3b8b147a44
commit
9691a27694
1 changed files with 70 additions and 0 deletions
@ -0,0 +1,70 @@ |
|||||||
|
/** |
||||||
|
* Copyright (c) 2018-2028, Chill Zhuang 庄骞 (smallchill@163.com). |
||||||
|
* <p> |
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
||||||
|
* you may not use this file except in compliance with the License. |
||||||
|
* You may obtain a copy of the License at |
||||||
|
* <p> |
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
* <p> |
||||||
|
* Unless required by applicable law or agreed to in writing, software |
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS, |
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||||
|
* See the License for the specific language governing permissions and |
||||||
|
* limitations under the License. |
||||||
|
*/ |
||||||
|
package org.energy.modules.inspection.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; |
||||||
|
|
||||||
|
/** |
||||||
|
* EquipmentLedge model export |
||||||
|
* @author edwong |
||||||
|
*/ |
||||||
|
@Data |
||||||
|
@ColumnWidth(25) |
||||||
|
@HeadRowHeight(20) |
||||||
|
@ContentRowHeight(16) |
||||||
|
public class InspectionTasksExcel implements Serializable { |
||||||
|
private static final long serialVersionUID = 1L; |
||||||
|
|
||||||
|
@ColumnWidth(20) |
||||||
|
@ExcelProperty(value = "任务编号") |
||||||
|
private String taskNo; |
||||||
|
|
||||||
|
@ColumnWidth(15) |
||||||
|
@ExcelProperty(value = "任务名称") |
||||||
|
private String taskName; |
||||||
|
|
||||||
|
@ColumnWidth(15) |
||||||
|
@ExcelProperty(value = "场站") |
||||||
|
private String stationExt; |
||||||
|
|
||||||
|
@ColumnWidth(15) |
||||||
|
@ExcelProperty(value = "任务生成日期") |
||||||
|
private String taskStartDate; |
||||||
|
|
||||||
|
@ColumnWidth(15) |
||||||
|
@ExcelProperty(value = "任务完成日期") |
||||||
|
private String taskEndDate; |
||||||
|
|
||||||
|
@ColumnWidth(15) |
||||||
|
@ExcelProperty(value = "责任人") |
||||||
|
private String responsiblePerson; |
||||||
|
|
||||||
|
@ColumnWidth(15) |
||||||
|
@ExcelProperty(value = "状态") |
||||||
|
private String taskStatusExt; |
||||||
|
|
||||||
|
@ColumnWidth(15) |
||||||
|
@ExcelProperty(value = "取消原因") |
||||||
|
private String cancelReason; |
||||||
|
|
||||||
|
|
||||||
|
} |
Loading…
Reference in new issue