package com.ssm.manage.dto;


import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.ssm.manage.page.BasePage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import java.util.Date;

/**
 * (StaffLoginRecording)查询类
 *
 * @author makejava
 * @since 2023-12-14 15:35:24
 */
@Data
@ApiModel(value = "Dto")
@JsonIgnoreProperties(ignoreUnknown = true)
public class StaffLoginRecordingDto extends BasePage {
    @Id
    @Column(name = "id")
    private Long id;
    /**
     * 员工id
     */
    @Column(name = "staff_id")
    @ApiModelProperty(name = "staffId", value = "员工id")
    private Long staffId;
    /**
     * 员工手机号
     */
    @Column(name = "mobile_phone")
    @ApiModelProperty(name = "mobilePhone", value = "员工手机号")
    private String mobilePhone;
    /**
     * 员工名字
     */
    @Column(name = "staff_name")
    @ApiModelProperty(name = "staffName", value = "员工名字")
    private String staffName;
    /**
     * 登录时间
     */
    @Column(name = "login_time")
    @ApiModelProperty(name = "loginTime", value = "登录时间")
    private Date loginTime;
    /**
     * 失败原因
     */
    @Column(name = "massage")
    @ApiModelProperty(name = "massage", value = "失败原因")
    private String massage;
    /**
     * 登录方式，0密码登录，1验证码登录
     */
    @Column(name = "login_type")
    @ApiModelProperty(name = "loginType", value = "登录方式，0密码登录，1验证码登录")
    private Integer loginType;
    @Column(name = "state")
    @ApiModelProperty(name = "state", value = "登录是否成功，0成功，1失败")
    private Integer state;
}
