prezman

Untitled

Apr 19th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.80 KB | None | 0 0
  1. <?php
  2. class Mensaje{
  3.     private $id;
  4.     private $nombre;
  5.     private $correo;
  6.     private $mensaje;
  7.  
  8.     public function __construct(){
  9.         // HOLI :D  
  10.     }
  11.  
  12.     public function getId(){
  13.         return $this->id;
  14.     }
  15.  
  16.     public function setId($id){
  17.         return $this->id = $id;
  18.     }
  19.  
  20.     public function getNombre(){
  21.         return $this->nombre;
  22.     }
  23.  
  24.     public function setNombre($nombre){
  25.         return $this->nombre = $nombre;
  26.     }
  27.  
  28.     public function getCorreo(){
  29.         return $this->correo;
  30.     }
  31.  
  32.     public function setCorreo($correo){
  33.         return $this->correo = $correo;
  34.     }
  35.  
  36.     public function getMensaje(){
  37.         return $this->mensaje;
  38.     }
  39.  
  40.     public function setMensaje($mensaje){
  41.         return $this->mensaje = $mensaje;
  42.     }    
  43. }
Advertisement
Add Comment
Please, Sign In to add comment