60 lines
1.5 KiB
Java
60 lines
1.5 KiB
Java
package com.gxwebsoft.ai.entity;
|
|
|
|
import com.baomidou.mybatisplus.annotation.*;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
import lombok.Data;
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
import java.io.Serializable;
|
|
import java.time.LocalDateTime;
|
|
|
|
/**
|
|
* AI审计历史记录表
|
|
*
|
|
* @author yc
|
|
*/
|
|
@Data
|
|
@EqualsAndHashCode(callSuper = false)
|
|
@Schema(name = "AiHistory对象", description = "AI审计历史记录表")
|
|
@TableName("ai_history")
|
|
public class AiHistory implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
@Schema(description = "主键ID")
|
|
@TableId(value = "id", type = IdType.AUTO)
|
|
private Long id;
|
|
|
|
@Schema(description = "请求哈希值")
|
|
private String requestHash;
|
|
|
|
@Schema(description = "接口名称")
|
|
private String interfaceName;
|
|
|
|
@Schema(description = "请求参数序列化数据")
|
|
private String requestData;
|
|
|
|
@Schema(description = "响应结果序列化数据")
|
|
private String responseData;
|
|
|
|
@Schema(description = "用户ID")
|
|
private Integer userId;
|
|
|
|
@Schema(description = "用户名")
|
|
private String username;
|
|
|
|
@Schema(description = "状态, 0正常, 1冻结")
|
|
private Integer status;
|
|
|
|
@Schema(description = "是否删除, 0否, 1是")
|
|
@TableLogic
|
|
private Integer deleted;
|
|
|
|
@Schema(description = "租户id")
|
|
private Integer tenantId;
|
|
|
|
@Schema(description = "创建时间")
|
|
private LocalDateTime createTime;
|
|
|
|
@Schema(description = "修改时间")
|
|
private LocalDateTime updateTime;
|
|
} |