×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Javascript
Posted by: Fabio Clem
Added: May 25, 2017 1:18 PM
Modified: May 25, 2017 1:19 PM
Views: 2
Tags: no tags
Id para a entidade
  1.     @Id
  2.     @GeneratedValue(strategy = GenerationType.AUTO)
  3.     private Integer id;
  4.  
  5.     public Integer getId() {
  6.         return id;
  7.     }
  8.  
  9.     public void setId(Integer id) {
  10.         this.id = id;
  11.     }