Advertisement
Guest User

Untitled

a guest
Oct 19th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. package com.phongtrungtran.usermodule.entity;
  2.  
  3. import java.io.Serializable;
  4. import javax.persistence.*;
  5. import lombok.Data;
  6.  
  7. @Data
  8. @Entity
  9. public class Role implements Serializable {
  10.  
  11. private static final long serialVersionUID = 1L;
  12.  
  13. @Id
  14. @Column(name = "id", nullable = false)
  15. private int id;
  16.  
  17. @Column(name = "name", nullable = false)
  18. private String name;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement