Advertisement
Guest User

Untitled

a guest
Jun 17th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.96 KB | None | 0 0
  1. package prog.model;
  2.  
  3. import java.io.Serializable;
  4.  
  5. import javax.xml.bind.annotation.XmlRootElement;
  6.  
  7. @XmlRootElement
  8. public class Aluno implements Serializable {
  9.     private static final long serialVersionUID = 1L;
  10.     private int codAluno;
  11.     private String nomeAluno;
  12.     private String email;
  13.  
  14.     public Aluno() {
  15.     }
  16.  
  17.     public Aluno(int codAluno, String nomeAluno, String email) {
  18.         this.codAluno = codAluno;
  19.         this.nomeAluno = nomeAluno;
  20.         this.email = email;
  21.     }
  22.  
  23.     public int getCodAluno() {
  24.         return codAluno;
  25.     }
  26.  
  27.     public void setCodAluno(int codAluno) {
  28.         this.codAluno = codAluno;
  29.     }
  30.  
  31.     public String getNomeAluno() {
  32.         return nomeAluno;
  33.     }
  34.  
  35.     public void setNomeAluno(String nomeAluno) {
  36.         this.nomeAluno = nomeAluno;
  37.     }
  38.  
  39.     public String getEmail() {
  40.         return email;
  41.     }
  42.  
  43.     public void setEmail(String email) {
  44.         this.email = email;
  45.     }
  46.  
  47.     public static long getSerialversionuid() {
  48.         return serialVersionUID;
  49.     }
  50.  
  51.    
  52.  
  53. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement