SHARE
TWEET

Untitled

a guest Jun 20th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package com.example.demo.model;
  2.  
  3. public class Curso2 {
  4.    
  5.     private String id;
  6.     private String nome;
  7.     private String duracao;
  8.    
  9.     public Curso2() {
  10.        
  11.     }
  12.        
  13.     public Curso2(String id, String nome, String duracao) {
  14.         super();
  15.         this.id = id;
  16.         this.nome = nome;
  17.         this.duracao = duracao;
  18.     }
  19.    
  20.     public String getId() {
  21.         return id;
  22.     }
  23.     public void setId(String id) {
  24.         this.id = id;
  25.     }
  26.     public String getNome() {
  27.         return nome;
  28.     }
  29.     public void setNome(String nome) {
  30.         this.nome = nome;
  31.     }
  32.     public String getDuracao() {
  33.         return duracao;
  34.     }
  35.     public void setDuracao(String duracao) {
  36.         this.duracao = duracao;
  37.     }
  38.  
  39.     @Override
  40.     public String toString() {
  41.         return "Curso [id=" + id + ", nome=" + nome + ", duracao=" + duracao + "]";
  42.     }
  43. }
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top