A database entity representing system operation logs, used for tracking user actions and resource changes in audit trails.
// Source: https://github.com/mateaix/mateclaw | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
package vip.mate.audit.model;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDateTime;
/**
* 操作审计事件实体
*
* @author MateClaw Team
*/
@Data
@TableName("mate_audit_event")
public class AuditEventEntity {
@TableId(type = IdType.ASSIGN_ID)
private Long id;
private Long workspaceId;
private Long userId;
private String username;
/** 操作类型:CREATE / UPDATE / DELETE / LOGIN / LOGOUT / ENABLE / DISABLE */
private String action;
/** 资源类型:AGENT / CHANNEL / SKILL / WIKI / NODE / MEMBER / WORKSPACE */
private String
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key