///
// abstract of person.
//
public class person
{< br> // initialize the Personal Information class
private string name; // user name
private string sex; // user gender
private int age; // user age
private string address; // URL
private string city; // city
private string province; // province
private string country; // country
private string telephone; // landline phone
private string mobilephone; // mobile phone number
private string idcard; // ID number
Public Person ()
{< br> //
// todo: add the constructor logic here
//
}
# Region settings
Public String getname ()
{
Return name;
}
Private void setname (string name)
{
This. Name = Name;
}
# Endregion
# Region settings
Public String getsex ()
{
Return sex;
}
Private void setsex (string sex)
{
This. Sex = sex;
}
# Endregion
# Region settings
Public int getage ()
{
Return age;
}
Private void setage (INT age)
{
This. Age = age;
}
# Endregion
# Region settings
Public String getaddress ()
{
Return address;
}
Private void setaddress (string address)
{
This. Address = address;
}
# Endregion
# Region settings
Public String getcity ()
{
Return city;
}
Private void setcity (string City)
{
This. City = city;
}
# Endregion
# Region settings
Public String getprovince ()
{
Return province;
}
Private void setprovince (string provincey)
{
This. Province = province;
}
# Endregion
# Region settings
Private void setcountry (string country)
{
This. Country = Country;
}
Private string getcountry ()
{
Return country;
}
# Endregion
# Region settings
Private void settelephone (string telephone)
{
This. Telephone = telephone;
}
Public String gettelephone ()
{
Return telephone;
}
# Endregion
# region setting to obtain the user's mobile phone information
private void setmobilephone (string mobilephone)
{< br> This. mobilephone = mobilephone;
}< br> Public String getmobilephone ()
{< br> return mobilephone;
}< br>
# endregion
// set the ID card number
Public String getidcard ()
{< br> return idcard;
}< br> // the ID card number of the person to be retrieved
private void setidcard (string idcard)
{< br> This. idcard = idcard;
}< BR >}