userinf.java

来自「本源码主要从数据库的开发过程出发」· Java 代码 · 共 80 行

JAVA
80
字号
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package Source;import java.sql.*;public class userInf {    private String userID="";    private String userName="";    private String password="";    private String Title="";    private int position=0;    private Connection conn=null;    private boolean hasLogin=false;    public userInf() {    }    public userInf(String userID,String userName,String password,String Title,int position,boolean hasLogin) {        this.userID=userID;        this.userName=userName;        this.password=password;        this.Title=Title;        this.position=position;        this.hasLogin=hasLogin;    }    public String getUserID() {        return userID;    }    public void setUserID(String userID) {        this.userID = userID;    }    public int getPosition() {        return position;    }    public void setPosition(int position) {        this.position = position;    }    public Connection getConn() {        return conn;    }    public String getUserName() {        return userName;    }    public void setUserName(String userName) {        this.userName = userName;    }    public String getPassword() {        return password;    }    public String getTitle() {        return Title;    }    public void setTitle(String Title) {        this.Title = Title;    }    public boolean isHasLogin() {        return hasLogin;    }    public void setHasLogin(boolean hasLogin) {        this.hasLogin = hasLogin;    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?