package cn.qg.qaplatform.entity.loginrisk;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "login_info")
public class LoginInfo {
    @TableId
    private Integer id;
    private String phoneNo;
    private String deviceId;
    private String device;
    private String ip;
    private Integer isLogin;
    private String loginFailMsg;
    private Integer isPass;
    private Integer hitRule;
    private Integer threshold;
    private Integer value;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdAt;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updatedAt;
}
