package com.jilongda.common.model; import cn.afterturn.easypoi.excel.annotation.Excel; 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 io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import java.time.LocalDateTime; /** *

* 操作日志 *

* * @author xiaochen * @since 2022-09-21 */ @Data @EqualsAndHashCode(callSuper = false) @TableName("oper_log") @ApiModel(value = "OperLog对象", description = "操作日志") public class OperLog { private static final long serialVersionUID = 1L; @TableId(value = "id", type = IdType.AUTO) private Long id; @ApiModelProperty(value = "用户名") @TableField("oper_user_name") @Excel(name = "用户名") private String operUserName; @ApiModelProperty(value = "账号") @TableField("oper_account") @Excel(name = "账号") private String operAccount; @ApiModelProperty(value = "操作时间") @TableField("oper_operation_time") private LocalDateTime operOperationTime; @ApiModelProperty(value = "IP地址") @TableField("oper_ip") @Excel(name = "IP地址") private String operIp; @ApiModelProperty(value = "操作模块") @TableField("oper_model") @Excel(name = "操作模块") private String operModel; @ApiModelProperty(value = "操作类型") @TableField("oper_type") @Excel(name = "操作类型") private String operType; @ApiModelProperty(value = "操作描述") @TableField("oper_desc") @Excel(name = "操作描述") private String operDesc; @ApiModelProperty(value = "请求uri地址") @TableField("oper_uri") @Excel(name = "请求uri地址") private String operUri; @ApiModelProperty(value = "请求方法") @TableField("oper_method") @Excel(name = "请求方法") private String operMethod; @ApiModelProperty(value = "请求参数") @TableField("oper_req_param") @Excel(name = "请求参数") private String operReqParam; @ApiModelProperty(value = "操作时间") @TableField(exist = false) @Excel(name = "操作时间") private String operOperationTimeExport; }