Advertisement
Kiporralixo

Untitled

Jun 12th, 2017
369
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.09 KB | None | 0 0
  1. <?php
  2.  
  3. class Cliente {
  4.     private $email;
  5.     private $nome;
  6.     private $senha;          
  7.     private $pontos;          
  8.     private $cpf;
  9.     private $tel;
  10.     private $endereco;
  11.     private $rank;
  12.     private $perfil;      
  13.     private $inicio;
  14.    
  15.     function __construct($email, $nome="", $senha="", $pontos="", $cpf="", $tel="", $endereco="", $rank="", $perfil="", $inicio="") {
  16.         $this->email = $email;
  17.         $this->nome = $nome;
  18.         $this->senha = $senha;
  19.         $this->pontos = $pontos;
  20.         $this->cpf = $cpf;
  21.         $this->tel = $tel;
  22.         $this->endereco = $endereco;
  23.         $this->rank = $rank;
  24.         $this->perfil = $perfil;
  25.         $this->inicio = $inicio;
  26.     }
  27.  
  28.     function getEmail() {
  29.         return $this->email;
  30.     }
  31.  
  32.     function getNome() {
  33.         return $this->nome;
  34.     }
  35.  
  36.     function getSenha() {
  37.         return $this->senha;
  38.     }
  39.  
  40.     function getPontos() {
  41.         return $this->pontos;
  42.     }
  43.  
  44.     function getCpf() {
  45.         return $this->cpf;
  46.     }
  47.  
  48.     function getTel() {
  49.         return $this->tel;
  50.     }
  51.  
  52.     function getEndereco() {
  53.         return $this->endereco;
  54.     }
  55.  
  56.     function getRank() {
  57.         return $this->rank;
  58.     }
  59.  
  60.     function getPerfil() {
  61.         return $this->perfil;
  62.     }
  63.  
  64.     function getInicio() {
  65.         return $this->inicio;
  66.     }
  67.  
  68.     function setEmail($email) {
  69.         $this->email = $email;
  70.     }
  71.  
  72.     function setNome($nome) {
  73.         $this->nome = $nome;
  74.     }
  75.  
  76.     function setSenha($senha) {
  77.         $this->senha = $senha;
  78.     }
  79.  
  80.     function setPontos($pontos) {
  81.         $this->pontos = $pontos;
  82.     }
  83.  
  84.     function setCpf($cpf) {
  85.         $this->cpf = $cpf;
  86.     }
  87.  
  88.     function setTel($tel) {
  89.         $this->tel = $tel;
  90.     }
  91.  
  92.     function setEndereco($endereco) {
  93.         $this->endereco = $endereco;
  94.     }
  95.  
  96.     function setRank($rank) {
  97.         $this->rank = $rank;
  98.     }
  99.  
  100.     function setPerfil($perfil) {
  101.         $this->perfil = $perfil;
  102.     }
  103.  
  104.     function setInicio($inicio) {
  105.         $this->inicio = $inicio;
  106.     }
  107.    
  108. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement