/**
 * Copyright (c) 2018-2099, Chill Zhuang 庄骞 (bladejava@qq.com).
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.xiaoniu.subsystem.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.xiaoniu.common.core.web.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;


import java.io.Serial;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 系统访问记录实体类
 *
 * @author sst
 * @since 2024-11-26
 */
@Data
@TableName("tb_sys_logininfor")
@Schema(description = "系统访问记录")
public class SysLogininfor {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 访问ID
     */
    @Schema(description = "访问ID")
    @TableId(value = "info_id", type = IdType.AUTO)
    private Long infoId;
    /**
     * 用户账号
     */
    @Schema(description = "用户账号")
    private String userName;
    /**
     * 登录IP地址
     */
    @Schema(description = "登录IP地址")
    private String ipaddr;
    /**
     * 提示信息
     */
    @Schema(description = "提示信息")
    private String msg;
    /**
     * 访问时间
     */
    @Schema(description = "访问时间")
    private Date accessTime;



    private String status;


}
