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.
19 lines
460 B
19 lines
460 B
package jinjieti1;
|
|
|
|
/**
|
|
* 图书馆员工类
|
|
*/
|
|
public class Staff {
|
|
private String staffId; // 员工ID
|
|
private String name; // 员工姓名
|
|
private String position; // 职位
|
|
|
|
public Staff(String staffId, String name, String position) {
|
|
this.staffId = staffId;
|
|
this.name = name;
|
|
this.position = position;
|
|
}
|
|
|
|
// getter
|
|
public String getName() { return name; }
|
|
} |