SYYTe/fast-boot-system/src/main/java/net/maku/system/vo/SysLogLoginVO.java
2022-08-28 00:02:00 +08:00

46 lines
1.2 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package net.maku.system.vo;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import net.maku.framework.common.utils.DateUtils;
import java.io.Serializable;
import java.util.Date;
/**
* 登录日志
*
* @author 阿沐 babamu@126.com
*/
@Data
@Schema(description = "登录日志")
public class SysLogLoginVO implements Serializable {
private static final long serialVersionUID = 1L;
@Schema(description = "id")
private Long id;
@Schema(description = "用户名")
private String username;
@Schema(description = "登录IP")
private String ip;
@Schema(description = "登录地点")
private String address;
@Schema(description = "User Agent")
private String userAgent;
@Schema(description = "登录状态 0失败 1成功")
private Integer status;
@Schema(description = "操作信息 0登录成功 1退出成功 2验证码错误 3账号密码错误")
private Integer operation;
@Schema(description = "创建时间")
@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
private Date createTime;
}