package com.multictrl.modules.business.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 智眸事件回调
 *
 * @author Sdy
 * @since 1.0.0 2026-06-11
 */
@Data
@TableName("bus_zhimou_callback")
public class ZhimouCallbackEntity {

    @TableId
    private Long id;
    /**
     * $column.comments
     */
    private String appId;
    /**
     * 飞控任务id
     */
    private String businessId;
    /**
     * 机库SN
     */
    private String device;
    /**
     * 事件
     */
    private String event;
    /**
     * 智眸任务id
     */
    private String taskId;
    /**
     * 上报时间
     */
    private Long timestamp;

    @TableField(fill = FieldFill.INSERT)
    private Date createDate;
}