<?PHP
class UserAccount
{
var $user_id;
var $username;
var $userpassword;
var $firstname;
var $lastname;
var $age;
var $gender;
var $occupation;
var $position;
var $company;
var $email;
var $mobile;
var $addr1;
var $addr2;
var $balance;
var $acctype;
var $level;
var $status;
function UserAccount($user_id, $username, $userpassword, $firstname,
$lastname, $age, $gender, $occupation, $position, $company, $email, $mobile, $addr1, $addr2,
$balance, $acctype, $status)
{
$this->user_id = $user_id;
$this->username = $username;
$this->userpassword = $userpassword;
$this->firstname = $firstname;
$this->lastname = $lastname;
$this->age = $age;
$this->gender = $gender;
$this->occupation = $occupation;
$this->position = $position;
$this->company = $company;
$this->email = $email;
$this->mobile = $mobile;
$this->addr1 = $addr1;
$this->addr2 = $addr2;
$this->balance = $balance;
$this->acctype = $acctype;
//$this->level = $level;
$this->status = $status;
}
function setUserid($_user_id) { $this->user_id = $_user_id; }
function getUserid() { return $this->user_id; }
function setUsername($_username) { $this->username = $_username; }
function getUsername() { return $this->username; }
function setUserpassword($_userpassword) { $this->userpassword = $_userpassword; }
function getUserpassword() { return $this->userpassword; }
function setFirstname($_firstname) { $this->firstname = $_firstname; }
function getFirstname() { return $this->firstname; }
function setLastname($_lastname) { $this->lastname = $_lastname; }
function getLastname() { return $this->lastname; }
function setAge($_age) { $this->age = $_age; }
function getAge() { return $this->age; }
function setGender($_gender) { $this->gender = $_gender; }
function getGender() { return $this->gender; }
function setOccupation($_occupation) { $this->occupation = $_occupation; }
function getOccupation() { return $this->occupation; }
function setPosition($_position) { $this->position = $_position; }
function getPosition() { return $this->position; }
function setCompany($_company) { $this->company = $_company; }
function getCompany() { return $this->company; }
function setEmail($_email) { $this->email = $_email; }
function getEmail() { return $this->email; }
function setMobile($_mobile) { $this->mobile = $_mobile; }
function getMobile() { return $this->mobile; }
function setAddr1($_addr1) { $this->addr1 = $_addr1; }
function getAddr1() { return $this->addr1; }
function setAddr2($_addr2) { $this->addr2 = $_addr2; }
function getAddr2() { return $this->addr2; }
function setBalance($_balance) { $this->balance = $_balance; }
function getBalance() { return $this->balance; }
function setAcctype($_acctype) { $this->acctype = $_acctype; }
function getAcctype() { return $this->acctype; }
function setLevel($_level) { $this->level = $_level; }
function getLevel() { return $this->level; }
function setStatus($_status) { $this->status = $_status; }
function getStatus() { return $this->status; }
}
?>