You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
488 B

package main.java.entity;
//用户类定义
public class User {
private String username;
private String password;
private String type;
public User(String username, String password, String type) {
this.username = username;
this.password = password;
this.type = type;
}
//获得用户信息
public String getUsername() {return username;}
public String getPassword() {return password;}
public String getType() {return type;}
}