Person

mail@pastecode.io avatar
unknown
java
2 years ago
1.2 kB
1
Indexable
Never
public class Person {

    private int ID;
    private String FName, LName, PhoneNum, Gender, Address;

    public int getID() {
        return ID;
    }
    public void setID(int ID) {
        this.ID = ID;
    }

    public String getPhoneNum() {
        return PhoneNum;
    }
    public void setPhoneNum(String phoneNum) {
        PhoneNum = phoneNum;
    }

    public String getFName() {
        return FName;
    }
    public void setFName(String FName) {
        this.FName = FName;
    }

    public String getLName() {
        return LName;
    }
    public void setLName(String LName) {
        this.LName = LName;
    }

    public String getGender() {
        return Gender;
    }
    public void setGender(String gender) {
        Gender = gender;
    }

    public String getAddress() {
        return Address;
    }
    public void setAddress(String address) {
        Address = address;
    }


    Person(int ID, String Fname, String Lname, String Gender, String PhoneNum, String Address){
        this.ID = ID;
        this.PhoneNum = PhoneNum;
        this.FName = Fname;
        this.LName = Lname;
        this.Gender = Gender;
        this.Address = Address;
    }

}