package com.zhiqiyun.open.core.models.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author jtoms
 */
@Data
@TableName("user_operate_logs")
public class UserOperateLog implements Serializable {
    private static final long serialVersionUID = -734912919219229259L;
    @TableId(type = IdType.INPUT)
    private String id;
    private Long uid;
    private String tags;
    private String fromSource;
    private String requestIp;
    private String requestUrl;
    private String requestParams;
    private String requestData;
    private Date requestTime;
    private Date responseTime;

    @TableField(exist = false)
    private String nickName;
}
