package com.pine.admin.modules.business.entity;

    import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

/**
 * 日志操作记录
 *
 * @author Pine
 * @email 771190883@qq.com
 * @date 2019-10-16 13:58:24
 */
@Data
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
@ApiModel(value = "日志操作记录对象", description = "日志操作记录对象")
public class SysLog implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键", name = "id")
    private Integer id;
    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名", name = "username")
    private String username;
    /**
     * 操作
     */
    @ApiModelProperty(value = "操作", name = "operation")
    private String operation;
    /**
     * 方法名
     */
    @ApiModelProperty(value = "方法名", name = "method")
    private String method;
    /**
     * 参数
     */
    @ApiModelProperty(value = "参数", name = "params")
    private String params;
    /**
     * 用户IP
     */
    @ApiModelProperty(value = "用户IP", name = "ip")
    private String ip;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", name = "createTime")
    private Date createTime;
    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间", name = "updateTime")
    private Date updateTime;
    /**
     *
     */
    @ApiModelProperty(value = "", name = "delFlag")
    private String delFlag;

}
