SW/assets/php/common/manager.php

35 lines
1.2 KiB
PHP
Raw Normal View History

<?php
class Manager{
//Attributes:
private $_id; //Manager ID.
private $_username; //Manager username.
private $_email; //Email.
private $_roll; //Roll
//Constructor:
2021-05-06 12:16:37 +02:00
function __construct($id, $idcinema, $username, $email, $roll){
$this->_id = $id;
2021-05-06 12:16:37 +02:00
$this->_idcinema = $idcinema;
$this->_username = $username;
$this->_email = $email;
$this->_roll = $roll;
}
//Methods:
//Getters && Setters:
public function setId($id){ $this->_id = $id; }
public function getId(){ return $this->_id; }
2021-05-06 12:16:37 +02:00
public function setIdcinema($idcinema){ $this->_idcinema = $idcinema; }
public function getIdcinema(){ return $this->_idcinema; }
public function setUsername($username){$this->_username = $username; }
2021-05-06 12:16:37 +02:00
public function getUsername(){ return $this->_username;}
public function setEmail($email){$this->_email = $email;}
2021-05-06 12:16:37 +02:00
public function getEmail(){return $this->_email;}
public function setRoll($roll){$this->_roll = $roll;}
2021-05-06 12:16:37 +02:00
public function getRoll(){return $this->_roll;}
}
?>