/*
|
* 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.sxkj.gd.patrolTask.excel;
|
|
|
import lombok.Data;
|
|
import java.util.Date;
|
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 java.io.Serializable;
|
|
|
/**
|
* 巡查任务表 Excel实体类
|
*
|
* @author lw
|
* @since 2026-01-14
|
*/
|
@Data
|
@ColumnWidth(25)
|
@HeadRowHeight(20)
|
@ContentRowHeight(18)
|
public class GdPatrolTaskExcel implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 关联工单任务表ID
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty("关联工单任务表ID")
|
private Long workOrderId;
|
/**
|
* 巡查任务名称
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty("巡查任务名称")
|
private String patrolTaskName;
|
/**
|
* 巡查任务类型(巡查类/安检类等)
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty("巡查任务类型(巡查类/安检类等)")
|
private String patrolTaskType;
|
/**
|
* 执行时间
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty("执行时间")
|
private Date executeTime;
|
/**
|
* 巡查任务航线URL
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty("巡查任务航线URL")
|
private String patrolRouteUrl;
|
/**
|
* 推荐飞手名称
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty("推荐飞手名称")
|
private String recommendFlyerName;
|
/**
|
* 关联设备ID
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty("关联设备ID")
|
private Long deviceId;
|
/**
|
* 任务描述
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty("任务描述")
|
private String taskDesc;
|
/**
|
* 状态:0草稿、1待签收、2拒绝签收、3待审核
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty("状态:0草稿、1待签收、2拒绝签收、3待审核")
|
private Byte taskStatus;
|
/**
|
* 区域编码
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty("区域编码")
|
private String areaCode;
|
/**
|
* 删除标志(0存在 1删除)
|
*/
|
@ColumnWidth(20)
|
@ExcelProperty("删除标志(0存在 1删除)")
|
private Byte isDeleted;
|
|
}
|