package org.xyzh.common.dto.system;
import org.xyzh.common.dto.BaseDTO;

/**
 * @description    TbSysLoginLog.java文件描述 登录日志信息
 * @filename    TbSysLoginLog.java
 * @author    yslg
 * @copyright xyzh
 * @since 2025-09-16
 */
public class TbSysLoginLog extends BaseDTO {
    private static final long serialVersionUID = 1L;

    /**
     * @description    用户ID
     * @author    yslg
     * @since 2025-09-16
     */
    private String userID;

    /**
     * @description    用户名
     * @author    yslg
     * @since 2025-09-16
     */
    private String username;

    /**
     * @description    登录IP地址
     * @author    yslg
     * @since 2025-09-16
     */
    private String ipAddress;

    /**
     * @description    IP来源
     * @author    yslg
     * @since 2025-09-16
     */
    private String ipSource;

    /**
     * @description    浏览器类型
     * @author    yslg
     * @since 2025-09-16
     */
    private String browser;

    /**
     * @description    操作系统
     * @author    yslg
     * @since 2025-09-16
     */
    private String os;

    /**
     * @description    登录密码
     * @author    yslg
     * @since 2025-09-16
     */
    private String password;

    /**
     * @description    登录时间
     * @author    yslg
     * @since 2025-09-16
     */
    private String loginTime;

    /**
     * @description    登录状态（0失败 1成功）
     * @author    yslg
     * @since 2025-09-16
     */
    private Integer status;

    /**
     * @description    错误次数
     * @author    yslg
     * @since 2025-09-16
     */
    private Integer errorCount;

    /**
     * @description    登录消息
     * @author    yslg
     * @since 2025-09-16
     */
    private String message;

    public String getUserID() {
        return userID;
    }

    public void setUserID(String userID) {
        this.userID = userID;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    public String getIpSource() {
        return ipSource;
    }

    public void setIpSource(String ipSource) {
        this.ipSource = ipSource;
    }

    public String getBrowser() {
        return browser;
    }

    public void setBrowser(String browser) {
        this.browser = browser;
    }

    public String getOs() {
        return os;
    }

    public void setOs(String os) {
        this.os = os;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(String loginTime) {
        this.loginTime = loginTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getErrorCount() {
        return errorCount;
    }

    public void setErrorCount(Integer errorCount) {
        this.errorCount = errorCount;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public String toString() {
        return "TbSysLoginLog{" +
                "id='" + getID() + '\'' +
                ", userID='" + userID + '\'' +
                ", username='" + username + '\'' +
                ", ipAddress='" + ipAddress + '\'' +
                ", ipSource='" + ipSource + '\'' +
                ", browser='" + browser + '\'' +
                ", os='" + os + '\'' +
                ", password='" + password + '\'' +
                ", loginTime='" + loginTime + '\'' +
                ", status=" + status +
                ", errorCount=" + errorCount +
                ", message='" + message + '\'' +
                ", createTime='" + getCreateTime() + '\'' +
                ", updateTime='" + getUpdateTime() + '\'' +
                ", deleteTime='" + getDeleteTime() + '\'' +
                ", deleted=" + getDeleted() +
                '}';
    }
}
