package link.at17.mid.tushare.web.models;

import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@TableName("web_user")
@Data
@EqualsAndHashCode(callSuper=false)
@Accessors(chain=true)
public class WebUser extends Model<WebUser> {

    private static final long serialVersionUID = 1L;
    
    @TableId(type = IdType.AUTO)
    private Integer userId;
    
    private String username;
    private String password;
    private String nickname;
    private String lastLoginIp;
    private LocalDateTime lastLoginTime;

}
