Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package Members;
- public class Administrator extends User {
- protected long phone;
- public Administrator(String username, String password, String email1, String email2, String firstname,
- String lastname, String aboutme, String photourl1, String photourl2, String photourl3, String streetname,
- String streetnumber, String majormunicipality, String governingdistrict, String postalarea, int usertypeid,
- int status,long phone) {
- super(username, password, email1, email2, firstname, lastname, aboutme, photourl1, photourl2, photourl3,
- streetname, streetnumber, majormunicipality, governingdistrict, postalarea, usertypeid, status);
- // TODO Auto-generated constructor stub
- this.phone=phone;
- }
- public long getPhone() {
- return phone;
- }
- public void setPhone(long phone) {
- this.phone = phone;
- }
- @Override
- public String toString() {
- return "Administrator [phone=" + phone + ", username=" + username + ", password=" + password + ", email1="
- + email1 + ", email2=" + email2 + ", firstname=" + firstname + ", lastname=" + lastname + ", aboutme="
- + aboutme + ", photourl1=" + photourl1 + ", photourl2=" + photourl2 + ", photourl3=" + photourl3
- + ", streetname=" + streetname + ", streetnumber=" + streetnumber + ", majormunicipality="
- + majormunicipality + ", governingdistrict=" + governingdistrict + ", postalarea=" + postalarea
- + ", usertypeid=" + usertypeid + ", status=" + status + "]";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement