|  |  |  | 
|---|
|  |  |  | package com.dy.pmsGlobal.pojoBa; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.alibaba.fastjson2.annotation.JSONField; | 
|---|
|  |  |  | import com.alibaba.fastjson2.writer.ObjectWriterImplToString; | 
|---|
|  |  |  | import com.baomidou.mybatisplus.annotation.IdType; | 
|---|
|  |  |  | import com.baomidou.mybatisplus.annotation.TableId; | 
|---|
|  |  |  | import com.baomidou.mybatisplus.annotation.TableName; | 
|---|
|  |  |  | import com.dy.common.po.BaseEntity; | 
|---|
|  |  |  | import lombok.*; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.Date; | 
|---|
|  |  |  | 
|---|
|  |  |  | @ToString | 
|---|
|  |  |  | @NoArgsConstructor | 
|---|
|  |  |  | @AllArgsConstructor | 
|---|
|  |  |  | public class BaLog { | 
|---|
|  |  |  | public class BaLog  implements BaseEntity { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
|---|
|  |  |  | @TableId(value = "id", type = IdType.INPUT) | 
|---|
|  |  |  | public Long id; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 用户ID | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public Long userId; | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 用户姓名 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public String userName; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 日志内容 | 
|---|
|  |  |  | 
|---|
|  |  |  | public String ip; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 响应状态码 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public String code; | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 响应信息 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public String msg; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 创建时间 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public Date dt; | 
|---|