Kelvineger

entidade?

Dec 19th, 2014
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.54 KB | None | 0 0
  1. <?php
  2.  
  3. class garagens {
  4.    
  5.     private $cod_garagem;
  6.     private $endereco;
  7.     private $telefone;
  8.     private $cnpj;
  9.     private $nome;
  10.     private $estado;
  11.     private $email;
  12.     private $plano;
  13.     private $logo;
  14.    
  15.     function getLogo() {
  16.         return $this->logo;
  17.     }
  18.  
  19.         function getCod_garagem() {
  20.         return $this->cod_garagem;
  21.     }
  22.  
  23.     function getEndereco() {
  24.         return $this->endereco;
  25.     }
  26.  
  27.     function getTelefone() {
  28.         return $this->telefone;
  29.     }
  30.  
  31.     function getCnpj() {
  32.         return $this->cnpj;
  33.     }
  34.  
  35.     function getNome() {
  36.         return $this->nome;
  37.     }
  38.  
  39.     function getEstado() {
  40.         return $this->estado;
  41.     }
  42.  
  43.     function getEmail() {
  44.         return $this->email;
  45.     }
  46.    
  47.     function getPlano() {
  48.         return $this->plano;
  49.     }
  50.    
  51.     function setLogo($logo) {
  52.         $this->logo = $logo;
  53.     }
  54.  
  55.     function setCod_garagem($cod_garagem) {
  56.         $this->cod_garagem = $cod_garagem;
  57.     }
  58.  
  59.     function setEndereco($endereco) {
  60.         $this->endereco = $endereco;
  61.     }
  62.  
  63.     function setTelefone($telefone) {
  64.         $this->telefone = $telefone;
  65.     }
  66.  
  67.     function setCnpj($cnpj) {
  68.         $this->cnpj = $cnpj;
  69.     }
  70.  
  71.     function setNome($nome) {
  72.         $this->nome = $nome;
  73.     }
  74.  
  75.     function setEstado($estado) {
  76.         $this->estado = $estado;
  77.     }
  78.  
  79.     function setEmail($email) {
  80.         $this->email = $email;
  81.     }
  82.  
  83.     function setPlano($plano) {
  84.         $this->plano = $plano;
  85.     }
  86. }
  87. ?>
Add Comment
Please, Sign In to add comment