package com.xcong.excoin.modules.station.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.xcong.excoin.common.system.base.BaseEntity;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
|
/**
|
* 策略事件日志表(只追加,eventId 唯一)
|
*/
|
@Data
|
@EqualsAndHashCode(callSuper = true)
|
@TableName("strategy_event_log")
|
public class StrategyEventLog extends BaseEntity {
|
|
/** 事件唯一 ID(幂等去重) */
|
private String eventId;
|
|
/** 事件类型:HEARTBEAT / STRATEGY_START / STOP_LOSS_TRIGGERED ... */
|
private String eventType;
|
|
/** apiKey 的 MD5 */
|
private String apiKeyMd5;
|
|
/** 合约名称 */
|
private String contract;
|
|
/** 事件时间戳 */
|
private Long eventTime;
|
|
/** JSON payload */
|
private String payloadJson;
|
}
|