mateclaw/mateclaw-server/src/main/java/vip/mate/hook/model/HookRunEntity.java

26 lines
614 B
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 vip.mate.hook.model;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDateTime;
/** Hook 触发审计RFC-017。对应 {@code mate_hook_run}。 */
@Data
@TableName("mate_hook_run")
public class HookRunEntity {
@TableId(type = IdType.ASSIGN_ID)
private Long id;
private Long hookId;
private String eventType;
/** {@code vip.mate.hook.action.HookResult.Status#name()} */
private String status;
private Integer durationMs;
private String message;
@TableField(fill = FieldFill.INSERT)
private LocalDateTime createdAt;
}