SHARE
TWEET

Untitled

a guest May 19th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package rest.model;
  2.  
  3. public class Tarefa {
  4.    
  5.     private Long id;
  6.     private String descricao;
  7.     private boolean finalizado;
  8.    
  9.     public Long getId() {
  10.         return id;
  11.     }
  12.     public void setId(Long id) {
  13.         this.id = id;
  14.     }
  15.     public String getDescricao() {
  16.         return descricao;
  17.     }
  18.     public void setDescricao(String descricao) {
  19.         this.descricao = descricao;
  20.     }
  21.     public boolean isFinalizado() {
  22.         return finalizado;
  23.     }
  24.     public void setFinalizado(boolean finalizado) {
  25.         this.finalizado = finalizado;
  26.     }
  27.    
  28.     @Override
  29.     public String toString() {
  30.         return "Tarefa [id=" + id + ", descricao=" + descricao + ", finalizado=" + finalizado + "]";
  31.     }  
  32. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top