package com.fufan.mtsaas.modules.base.log.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * 登录登出日志表(TLoginLog)实体类
 *
 * @author Liby
 * @since 2022-06-28 15:53:22
 */
@Data
public class TLoginLog implements Serializable {
    private static final long serialVersionUID = 435145147503240121L;
    @TableId("id")
    @ApiModelProperty(value = "日志系统ID")
    private int id;
    @ApiModelProperty(value = "关联系统ID")
    private Long relatedId;
    @ApiModelProperty(value = "关联功能")
    private String relatedType;
    @ApiModelProperty(value = "日志标题")
    private String logTitle;
    @ApiModelProperty(value = "日志内容")
    private String logContent;
    @ApiModelProperty(value = "操作人")
    private String operator;
    @ApiModelProperty(value = "操作时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date operateTime;
    @ApiModelProperty(value = "操作类型")
    private String operateType;
    @ApiModelProperty(value = "IP地址")
    private String ipAddress;
    @ApiModelProperty(value = "操作状态")
    private String operateStatus;
    @ApiModelProperty(value = "公司id")
    private Long companyId;
}

