diff --git a/blogserver/src/main/java/org/sang/bean/Role.java b/blogserver/src/main/java/org/sang/bean/Role.java new file mode 100644 index 0000000..033d90f --- /dev/null +++ b/blogserver/src/main/java/org/sang/bean/Role.java @@ -0,0 +1,33 @@ +package org.sang.bean; + + +public class Role { + private Long id; + private String name; + + public Role() { + } + + public Long getId() { + + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Role(Long id, String name) { + + this.id = id; + this.name = name; + } +}