@Id
    @GeneratedValue
    public Long getId() {
        return id;
    }
Model object that represents a security role.
samples/spring-hibernate/src/main/java/org/apache/shiro/samples/sprhib/model/Role.java