forked from rongchao/epmet-cloud-rizhao
				
			
				 4 changed files with 141 additions and 0 deletions
			
			
		| @ -0,0 +1,71 @@ | |||||
|  | /** | ||||
|  |  * Copyright 2018 人人开源 https://www.renren.io
 | ||||
|  |  * <p> | ||||
|  |  * This program is free software: you can redistribute it and/or modify | ||||
|  |  * it under the terms of the GNU General Public License as published by | ||||
|  |  * the Free Software Foundation, either version 3 of the License, or | ||||
|  |  * (at your option) any later version. | ||||
|  |  * <p> | ||||
|  |  * This program is distributed in the hope that it will be useful, | ||||
|  |  * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
|  |  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
|  |  * GNU General Public License for more details. | ||||
|  |  * <p> | ||||
|  |  * You should have received a copy of the GNU General Public License | ||||
|  |  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | ||||
|  |  */ | ||||
|  | 
 | ||||
|  | package com.epmet.excel; | ||||
|  | 
 | ||||
|  | import com.alibaba.excel.annotation.ExcelIgnore; | ||||
|  | import com.alibaba.excel.annotation.ExcelProperty; | ||||
|  | import com.alibaba.excel.annotation.format.DateTimeFormat; | ||||
|  | import lombok.EqualsAndHashCode; | ||||
|  | import lombok.Getter; | ||||
|  | import lombok.Setter; | ||||
|  | 
 | ||||
|  | /** | ||||
|  |  * @Description 【网格员工作统计】巡查记录列表导出 | ||||
|  |  * @Author sun | ||||
|  |  */ | ||||
|  | @Getter | ||||
|  | @Setter | ||||
|  | @EqualsAndHashCode | ||||
|  | public class StaffPatrolRecordExcel { | ||||
|  | 
 | ||||
|  |     @ExcelProperty("人员ID") | ||||
|  |     private String staffId; | ||||
|  | 
 | ||||
|  |     @ExcelProperty("人员名称") | ||||
|  |     private String staffName; | ||||
|  | 
 | ||||
|  |     @ExcelProperty("网格ID") | ||||
|  |     private String gridId; | ||||
|  | 
 | ||||
|  |     @ExcelProperty("网格名称") | ||||
|  |     private String gridName; | ||||
|  | 
 | ||||
|  |     @ExcelProperty("状态(英文key)") | ||||
|  |     private String status; | ||||
|  | 
 | ||||
|  |     @ExcelProperty("状态(中文)") | ||||
|  |     private String statusName; | ||||
|  | 
 | ||||
|  |     @DateTimeFormat("yyyy年MM月dd日") | ||||
|  |     @ExcelProperty("巡查开始时间") | ||||
|  |     private String patrolStartTime; | ||||
|  | 
 | ||||
|  |     @DateTimeFormat("yyyy年MM月dd日") | ||||
|  |     @ExcelProperty("巡查结束时间") | ||||
|  |     private String patrolEndTime; | ||||
|  | 
 | ||||
|  |     @ExcelProperty("巡查时长") | ||||
|  |     private String totalTime; | ||||
|  | 
 | ||||
|  |     @ExcelIgnore | ||||
|  |     private String aa; | ||||
|  | 
 | ||||
|  | 
 | ||||
|  | 
 | ||||
|  | 
 | ||||
|  | } | ||||
					Loading…
					
					
				
		Reference in new issue