Guest User

Untitled

a guest
Dec 12th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.35 KB | None | 0 0
  1. <?php
  2. class Aluno{
  3. private $nome;
  4. private $sobrenome;
  5. private $email;
  6. private $telefone;
  7. private $cep;
  8. private $rua;
  9. private $endereco;
  10. private $numero;
  11. private $logradouro;
  12. private $cidade;
  13. private $estado;
  14. private $usuario;
  15. private $senha;
  16.  
  17. public function getNome(){
  18. return $this->nome;
  19. }
  20. public function setNome($nome){
  21. $this->nome = $nome;
  22. }
  23.  
  24. public function getSobrenome(){
  25. return $this->sobrenome;
  26. }
  27. public function setSobrenome($sobrenome){
  28. $this->sobrenome = $sobrenome;
  29. }
  30.  
  31. public function getEmail(){
  32. return $this->email;
  33. }
  34. public function setEmail($email){
  35. $this->email = $email;
  36. }
  37.  
  38.  
  39. public function getTelefone(){
  40. return $this->telefone;
  41. }
  42. public function setTelefone($telefone){
  43. $this->telefone = $telefone;
  44. }
  45.  
  46. public function getCep(){
  47. return $this->cep;
  48. }
  49. public function setCep($cep){
  50. $this->cep = $cep;
  51. }
  52.  
  53. public function getRua(){
  54. return $this->rua;
  55. }
  56. public function setRua($rua){
  57. $this->rua = $rua;
  58. }
  59.  
  60. public function getEndereco(){
  61. return $this->endereco;
  62. }
  63.  
  64. public function setEndereco($endereco){
  65. $this->endereco = $endereco;
  66. }
  67.  
  68. public function getNumero(){
  69. return $this->numero;
  70. }
  71. public function setNumero($numero){
  72. $this->numero = $numero;
  73. }
  74.  
  75. public function getLogradouro(){
  76. return $this->logradouro;
  77. }
  78. public function setLogradouro($lougradouro){
  79. $this->lougradouro = $logradouro;
  80. }
  81.  
  82.  
  83. public function getCidade(){
  84. return $this->cidade;
  85. }
  86. public function setCidade($cidade){
  87. $this->cidade = $cidade;
  88. }
  89.  
  90.  
  91. public function getEstado(){
  92. return $this->estado;
  93. }
  94. public function setEstado($estado){
  95. $this->estado = $estado;
  96. }
  97.  
  98. public function getUsuario(){
  99. return $this->usuario;
  100. }
  101.  
  102. public function setUsuario($usuario){
  103. $this->usuario = $usuario;
  104. }
  105.  
  106. public function getSenha(){
  107. return $this->senha;
  108. }
  109.  
  110. public function setSenha($senha){
  111. $this->senha = $senha;
  112. }
  113.  
  114.  
  115.  
  116. }
  117. ?>
  118.  
  119. Class Telefone{
  120. private $ddd;
  121. private $numero;
  122.  
  123. public function getDDD(){
  124. return $this->ddd;
  125. }
  126. public function setDDD($ddd){
  127. $this->ddd = $ddd;
  128. }
  129. public function getTelefone(){
  130. return $this->telefone;
  131. }
  132. public function setTelefone($telefone){
  133. $this->telefone = $telefone;
  134. }
  135.  
  136. Class Estado{
  137. private $estado;
  138.  
  139. public function getEstado(){
  140. return $this->estado;
  141. }
  142. public function setEstado($estado){
  143. $this->estado = $estado;
  144. }
  145. }
  146.  
  147. Class Cidade{
  148. private $cidade
  149.  
  150. public function getCidade(){
  151. return $this->cidade;
  152. }
  153. public function setCidade($cidade){
  154. $this->cidade = $cidade;
  155. }
Add Comment
Please, Sign In to add comment