| package com.dy.pipIrrGlobal.voPr; | 
|   | 
| import com.alibaba.excel.annotation.ExcelProperty; | 
| import com.alibaba.excel.annotation.write.style.ColumnWidth; | 
| import com.dy.common.po.BaseEntity; | 
| import com.fasterxml.jackson.annotation.JsonFormat; | 
| import io.swagger.v3.oas.annotations.media.Schema; | 
| import lombok.Data; | 
| import org.springframework.format.annotation.DateTimeFormat; | 
|   | 
| import java.util.Date; | 
|   | 
| /** | 
|  * @author :WuZeYu | 
|  * @Date :2024/1/15  10:58 | 
|  * @LastEditTime :2024/1/15  10:58 | 
|  * @Description | 
|  */ | 
| @Data | 
| @Schema(title = "流量计视图对象") | 
| public class VoFlowMeter implements BaseEntity { | 
|     private static final long serialVersionUID = 202401241704005L; | 
|   | 
|     @Schema(title = "ID") | 
|     @ExcelProperty("ID") | 
|     @ColumnWidth(10) | 
|     private String id; | 
|   | 
|     @Schema(title = "管网流量计编号") | 
|     @ExcelProperty("管网流量计编号") | 
|     @ColumnWidth(15) | 
|     private String code; | 
|   | 
|     @Schema(title = "在线状态") | 
|     @ExcelProperty("在线状态") | 
|     @ColumnWidth(1) | 
|     private Integer onlineState; | 
|   | 
|     @Schema(title = "管网流量监测站名称") | 
|     @ExcelProperty("管网流量监测站名称") | 
|     @ColumnWidth(15) | 
|     private String name; | 
|   | 
|     @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
|     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") | 
|     @Schema(title = "操作时间") | 
|     @ExcelProperty("操作时间") | 
|     @ColumnWidth(30) | 
|     private Date operateDt; | 
| } |