Usuario.php 1.41 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<?php

namespace Usuario\Model;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of User
 *
 * @author Toddy
 */
class Usuario {

17
    private $id;
18 19
    private $nome;
    private $carteirinha;
Clarissa's avatar
Clarissa committed
20 21 22
    private $saldo;
    private $email;
    private $senha;
23
    private $tipoUsuario;
24 25


26 27 28 29 30 31
    public function getId(){
        return $this->id;
    }
    public function setId($id){
        $this->id =$id;
    }
32 33 34 35 36 37 38 39
    public function getNome() {
        return $this->nome;
    }

    public function setNome($nome) {
        $this->nome = $nome;
    }

Clarissa's avatar
Clarissa committed
40
    public function getCarteirinha() {
41 42 43 44 45 46 47
        return $this->carteirinha;
    }

    public function setCarteirinha($carteirinha) {
        $this->carteirinha = $carteirinha;
    }

Clarissa's avatar
t  
Clarissa committed
48
    public function getSaldo() {
49 50 51 52 53 54 55
        return $this->saldo;
    }

    public function setSaldo($saldo) {
        $this->saldo = $saldo;
    }
   
Clarissa's avatar
Clarissa committed
56
    public function getEmail() {
57 58 59 60 61 62 63
        return $this->email;
    }

    public function setEmail($email) {
        $this->email = $email;
    }
   
Clarissa's avatar
Clarissa committed
64
    public function getSenha() {
65 66 67 68 69
        return $this->senha;
    }

    public function setSenha($senha) {
        $this->senha = $senha;
Clarissa's avatar
Clarissa committed
70
        
71
    }
72 73 74 75 76 77 78 79
    public function getTipoUsuario() {
        return $this->tipoUsuario;
    }

    public function setTipoUsuario($tipoUsuario) {
        $this->tipoUsuario = $tipoUsuario;
        
    }
80 81 82

}

Victor's avatar
Victor committed
83
?>