Advertisement
mauroslucios

Cargo

Nov 28th, 2021
820
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.43 KB | None | 0 0
  1. package sistema.entidades;
  2.  
  3. public class Cargo {
  4.  
  5.     private Long id;
  6.     private String nome;
  7.    
  8.     public Cargo(Long id, String nome) {
  9.         super();
  10.         this.id = id;
  11.         this.nome = nome;
  12.     }
  13.  
  14.     public Cargo() {
  15.        
  16.     }
  17.  
  18.     public Long getId() {
  19.         return id;
  20.     }
  21.  
  22.     public void setId(Long id) {
  23.         this.id = id;
  24.     }
  25.  
  26.     public String getNome() {
  27.         return nome;
  28.     }
  29.  
  30.     public void setNome(String nome) {
  31.         this.nome = nome;
  32.     }
  33.    
  34.    
  35. }
  36.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement