SHARE
TWEET

Untitled

a guest Aug 20th, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package io.khasang.gahelp.entity;
  2.  
  3. import javax.persistence.*;
  4.  
  5. @Entity
  6. @Table(name = "role")
  7. public class Role {
  8.  
  9.     @Id
  10.     @GeneratedValue(strategy = GenerationType.AUTO)
  11.     private long id;
  12.  
  13.     private String name;
  14.     private String type;
  15.     private String description;
  16.  
  17.     public long getId() {
  18.         return id;
  19.     }
  20.  
  21.     public void setId(long id) {
  22.         this.id = id;
  23.     }
  24.  
  25.     public String getName() {
  26.         return name;
  27.     }
  28.  
  29.     public void setName(String name) {
  30.         this.name = name;
  31.     }
  32.  
  33.     public String getType() {
  34.         return type;
  35.     }
  36.  
  37.     public void setType(String type) {
  38.         this.type = type;
  39.     }
  40.  
  41.     public String getDescription() {
  42.         return description;
  43.     }
  44.  
  45.     public void setDescription(String description) {
  46.         this.description = description;
  47.     }
  48. }
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