Files
yinyitong-zhongyuyuan-dll-s…/src/main/java/com/dpkj/common/dto/LexMarkResultDTO.java

116 lines
2.1 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.dpkj.common.dto;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import java.io.Serializable;
/**
* 利盟接口返回值DTO
*
* @author <a href="https://gitee.com/shi-chongli">石头人</a>
* @version 1.0
* @since 2025-02-08 11:03:06
*/
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class LexMarkResultDTO <T> implements Serializable {
/**
* 对应发送请求中的devName
*/
private String devName;
/**
* 事件名由发送请求中的actionName+Over组成。
*/
private String msgName;
/**
* 对应发送请求的callID。
*/
private int callID;
/**
* 错误码0表示成功其他表示失败比如-4表示取消-48表示超时-14表示硬件故障
*/
private int result;
/**
* 发送请求中的actionName
*/
private String cmdName;
/**
* 详情描述
*/
private String desc;
/**
* 利盟服务返回的参数
*/
@JsonIgnore
private String param;
/**
* 实际返回的接受的参数对象通过param转换过后的
*/
private T data;
@Data
@AllArgsConstructor
@NoArgsConstructor
public static class Param {
/**
* 请求ID
*/
private int RequestID;
/**
* 命令编码
*/
private int dwCommandCode;
/**
* 事件名由发送请求中的actionName+Over组成。
*/
private String eventName;
/**
* 事件类型编码
*/
private int eventType;
/**
* 服务
*/
private int hService;
/**
* 对应发送请求中的devName
*/
private String cmdName;
/**
* 错误码0表示成功其他表示失败比如-4表示取消-48表示超时-14表示硬件故障
*/
private int result;
/**
* 详情描述
*/
private String desc;
}
}