mirror of
https://gitee.com/mateos/mateclaw.git
synced 2026-09-15 20:08:18 +08:00
26 lines
614 B
Java
26 lines
614 B
Java
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;
|
||
}
|