package com.qnfhq.modules.user.dto;

import io.swagger.v3.oas.annotations.media.SchemaProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;


/**
 * 系统访问记录
 * 1
 * @author yelz 30262728@qq.com
 * @since 1.0.0 2025-11-11
 */
@Data
@Schema(name = "系统访问记录")
public class AppuserLoginLogDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@SchemaProperty(name = "主键ID")
	private Long id;

	@SchemaProperty(name = "登录用户ID")
	private Long userId;

	@SchemaProperty(name = "登录用户名")
	private String username;

	@SchemaProperty(name = "访问IP")
	private String ipaddr;

	@SchemaProperty(name = "访问位置")
	private String loginLocation;

	@SchemaProperty(name = "浏览器")
	private String browser;

	@SchemaProperty(name = "系统OS")
	private String os;

	@SchemaProperty(name = "登录状态（0成功 1失败）")
	private String status;

	@SchemaProperty(name = "")
	private String msg;

	@SchemaProperty(name = "访问时间")
	private Date loginTime;


}
