package com.zhgd.xmgl.modules.basicdata.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 操作日志表
 * @author： pds
 * @date： 2021-05-07
 * @version： V1.0
 */
@Data
@TableName("operation_log")
@ApiModel(value = "OperationLog实体类", description = "OperationLog")
public class OperationLog implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * operId
     */
    @TableId(type = IdType.ASSIGN_UUID)
    @ApiModelProperty(value = "operId")
    private java.lang.String operId;
    /**
     * 功能模块
     */
    @Excel(name = "功能模块", width = 15)
    @ApiModelProperty(value = "功能模块")
    private java.lang.String operModule;
    /**
     * 操作类型
     */
    @Excel(name = "操作类型", width = 15)
    @ApiModelProperty(value = "操作类型")
    private java.lang.String operType;
    /**
     * 操作描述
     */
    @Excel(name = "操作描述", width = 15)
    @ApiModelProperty(value = "操作描述")
    private java.lang.String operDesc;
    /**
     * 请求参数
     */
    @Excel(name = "请求参数", width = 15)
    @ApiModelProperty(value = "请求参数")
    private java.lang.Object operRequParam;
    /**
     * 操作员ID
     */
    @Excel(name = "操作员ID", width = 15)
    @ApiModelProperty(value = "操作员ID")
    private java.lang.String operUserId;
    /**
     * 操作员名称
     */
    @Excel(name = "操作员名称", width = 15)
    @ApiModelProperty(value = "操作员名称")
    private java.lang.String operUserName;
    /**
     * 操作方法
     */
    @Excel(name = "操作方法", width = 15)
    @ApiModelProperty(value = "操作方法")
    private java.lang.String operMethod;
    /**
     * 请求URI
     */
    @Excel(name = "请求URI", width = 15)
    @ApiModelProperty(value = "请求URI")
    private java.lang.String operUri;
    /**
     * 请求IP
     */
    @Excel(name = "请求IP", width = 15)
    @ApiModelProperty(value = "请求IP")
    private java.lang.String operIp;
    /**
     * 操作时间
     */
    @Excel(name = "操作时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "操作时间")
    private java.util.Date operCreateTime;
}
