File tree Expand file tree Collapse file tree 1 file changed +51
-0
lines changed
login/src/main/java/com/glaum/login/entity Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Original file line number Diff line number Diff line change 1+ package com .glaum .login .entity ;
2+
3+ import javax .persistence .Column ;
4+ import javax .persistence .Entity ;
5+ import javax .persistence .GeneratedValue ;
6+ import javax .persistence .GenerationType ;
7+ import javax .persistence .Id ;
8+ import javax .persistence .Table ;
9+
10+ @ Entity
11+ @ Table (name = "permission" )
12+ public class permission {
13+
14+ @ Id
15+ @ GeneratedValue (strategy = GenerationType .AUTO )
16+ @ Column (name ="id" )
17+ private int id ;
18+
19+ @ Column (name ="bit" )
20+ private int bit ;
21+
22+ @ Column (name ="name" )
23+ private String name ;
24+
25+ public int getid ()
26+ {
27+ return id ;
28+ }
29+
30+ public void setid (int id )
31+ {
32+ this .id =id ;
33+ }
34+
35+ public int getbit ()
36+ {
37+ return bit ;
38+ }
39+ public void setbit (int bit ) {
40+ this .bit =bit ;
41+ }
42+ public String getname ()
43+ {
44+ return name ;
45+ }
46+ public void setname (String name )
47+ {
48+ this .name =name ;
49+ }
50+
51+ }
You can’t perform that action at this time.
0 commit comments