Created
April 27, 2017 11:26
-
-
Save edermfl/acbbf07d0b237eccb051822057e594b3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Entity | |
@Table(name = "CLIENTE") | |
public class Cliente { | |
@Id | |
@GeneratedValue(strategy = GenerationType.AUTO) | |
private Long id; | |
@Column | |
private String nome; | |
@Column | |
private String rg; | |
public Long getId() { | |
return id; | |
} | |
public String getNome() { | |
return nome; | |
} | |
public String getRg() { | |
return rg; | |
} | |
public void setId(final Long pId) { | |
id = pId; | |
} | |
public void setNome(final String pNome) { | |
nome = pNome; | |
} | |
public void setRg(final String pRg) { | |
rg = pRg; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment