|  |  |  | 
|---|
|  |  |  | package com.dy.pipIrrGlobal.pojoRm; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * @author ZhuBaoMin | 
|---|
|  |  |  | * @date 2024-05-24 10:46 | 
|---|
|  |  |  | 
|---|
|  |  |  | import com.baomidou.mybatisplus.annotation.TableId; | 
|---|
|  |  |  | import com.baomidou.mybatisplus.annotation.TableName; | 
|---|
|  |  |  | import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler; | 
|---|
|  |  |  | import com.dy.common.po.BaseEntity; | 
|---|
|  |  |  | import com.fasterxml.jackson.annotation.JsonFormat; | 
|---|
|  |  |  | import jakarta.validation.constraints.NotBlank; | 
|---|
|  |  |  | import jakarta.validation.constraints.NotNull; | 
|---|
|  |  |  | 
|---|
|  |  |  | import java.util.Date; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 命令日志表 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | * 命令日志表 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @TableName(value = "rm_command_history", autoResultMap = true) | 
|---|
|  |  |  | @Data | 
|---|
|  |  |  | @Builder | 
|---|
|  |  |  | @ToString | 
|---|
|  |  |  | @NoArgsConstructor | 
|---|
|  |  |  | @AllArgsConstructor | 
|---|
|  |  |  | public class RmCommandHistory { | 
|---|
|  |  |  | public class RmCommandHistory implements BaseEntity { | 
|---|
|  |  |  | public static final long serialVersionUID = 202401151517005L; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @JSONField(serializeUsing = ObjectWriterImplToString.class) | 
|---|
|  |  |  | @TableId(type = IdType.INPUT) | 
|---|
|  |  |  | private Long id; | 
|---|
|  |  |  | private Long comId; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 功能码 | 
|---|
|  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 命令结果内容 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @TableField(typeHandler = JacksonTypeHandler.class) | 
|---|
|  |  |  | private JSONObject resultText; | 
|---|
|  |  |  | private String resultText; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|