package com.javaweb.platform.domain;
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
import com.javaweb.common.annotation.Excel;
|
import com.javaweb.common.core.domain.BaseEntity;
|
import java.util.Date;
|
|
/**
|
* 用户登录次数对象 js_user_login_count
|
*
|
* @author zzf
|
* @date 2022-04-03
|
*/
|
public class UserLoginCount extends BaseEntity
|
{
|
private static final long serialVersionUID = 1L;
|
|
/** 主键 */
|
private String id;
|
|
/** 用户名 */
|
@Excel(name = "用户名")
|
private String userName;
|
|
/** 登录时间 */
|
@Excel(name = "登录时间", width = 30, dateFormat = "yyyy-MM-dd")
|
private Date loginTime;
|
|
/** 次数 */
|
@Excel(name = "次数")
|
private int count;
|
|
/** 类型 */
|
@Excel(name = "类型")
|
private String type;
|
|
public void setId(String id)
|
{
|
this.id = id;
|
}
|
|
public String getId()
|
{
|
return id;
|
}
|
public void setUserName(String userName)
|
{
|
this.userName = userName;
|
}
|
|
public String getUserName()
|
{
|
return userName;
|
}
|
public void setLoginTime(Date loginTime)
|
{
|
this.loginTime = loginTime;
|
}
|
|
public Date getLoginTime()
|
{
|
return loginTime;
|
}
|
public void setCount(int count)
|
{
|
this.count = count;
|
}
|
|
public int getCount()
|
{
|
return count;
|
}
|
public void setType(String type)
|
{
|
this.type = type;
|
}
|
|
public String getType()
|
{
|
return type;
|
}
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
.append("id", getId())
|
.append("userName", getUserName())
|
.append("loginTime", getLoginTime())
|
.append("count", getCount())
|
.append("type", getType())
|
.toString();
|
}
|
}
|