77 lines
1.3 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.designhub.entity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDateTime;
/**
* 第三方回调记录实体类
*/
@Data
@TableName("third_party_callback")
public class ThirdPartyCallback {
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 关联的任务ID
*/
private Long taskId;
/**
* 第三方平台任务编号
*/
private String thirdPartyTaskNo;
/**
* 回调类型:complete-任务完成, status_update-状态更新
*/
private String callbackType;
/**
* 回调处理状态:pending-待处理, success-成功, failed-失败
*/
private String callbackStatus;
/**
* 回调请求数据(JSON格式)
*/
private String requestData;
/**
* 响应数据(JSON格式)
*/
private String responseData;
/**
* 错误信息
*/
private String errorMessage;
/**
* 重试次数
*/
private Integer retryCount;
/**
* 回调接收时间
*/
private LocalDateTime callbackTime;
/**
* 处理完成时间
*/
private LocalDateTime processedTime;
/**
* 创建时间
*/
private LocalDateTime createTime;
/**
* 更新时间
*/
private LocalDateTime updateTime;
}