package com.chinaweal.aiccs.aiccs.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.chinaweal.youfool.framework.springboot.json.LocalDateTimeStringSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
@Data
public class LogVO {
    //日志id
    private String uuid;

    //用户名
    private String username;

    //IP
    private String host;

    //URI
    private String uri;

    //方法
    private String method;

    //访问时间
    private LocalDateTime time;

    //操作系统-浏览器
    private String device;

    //
    private String query;

    //参数
    private String body;

    //单位毫秒
    private Long timeSpend;

    //状态码
    private Integer status;

    //异常信息
    private String ex;
}
