package cn.xianyum.system.entity.po;

import cn.xianyum.common.entity.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/** 系统日志
 * @author zhangwei
 * @date 2019/6/20 11:04
 */
@Data
@TableName(value = "user_log")
public class LogEntity extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Long id;
    //用户名
    private String username;
    //用户操作
    private String operation;
    //请求方法
    private String method;
    //请求参数
    private String params;
    //执行时长(毫秒)
    private Long time;
    //IP地址
    private String ip;
    //IP地点
    private String ipInfo;
}
