| New file | 
 |  |  | 
 |  |  | package com.dy.pipIrrGlobal.voRm; | 
 |  |  |  | 
 |  |  | import com.alibaba.fastjson2.annotation.JSONField; | 
 |  |  | import com.alibaba.fastjson2.writer.ObjectWriterImplToString; | 
 |  |  | import com.fasterxml.jackson.annotation.JsonFormat; | 
 |  |  | import lombok.Data; | 
 |  |  |  | 
 |  |  | import java.util.Date; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  |  * @author ZhuBaoMin | 
 |  |  |  * @date 2024-07-02 16:22 | 
 |  |  |  * @LastEditTime 2024-07-02 16:22 | 
 |  |  |  * @Description 命令日志视图 | 
 |  |  |  */ | 
 |  |  |  | 
 |  |  | @Data | 
 |  |  | public class VoCommand { | 
 |  |  |     private static final long serialVersionUID = 1L; | 
 |  |  |  | 
 |  |  |     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
 |  |  |     private Long comId; | 
 |  |  |  | 
 |  |  |     private String commandName; //命令名称 | 
 |  |  |  | 
 |  |  |     private String intakeName; | 
 |  |  |  | 
 |  |  |     private String rtuAddr; | 
 |  |  |  | 
 |  |  |     private String protocol; | 
 |  |  |  | 
 |  |  |     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
 |  |  |     private Date sendTime; | 
 |  |  |  | 
 |  |  |     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
 |  |  |     private Date resultTime; | 
 |  |  |  | 
 |  |  |     private String state;//执行状态 | 
 |  |  |  | 
 |  |  |     private String result;//命令结果 | 
 |  |  |  | 
 |  |  |     private String userName;//操作人 | 
 |  |  | } |