Skip to content

Instantly share code, notes, and snippets.

@krams915
Created January 20, 2012 07:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save krams915/1645948 to your computer and use it in GitHub Desktop.
Save krams915/1645948 to your computer and use it in GitHub Desktop.
package org.krams.domain;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
@Document
public class Role {
@Id
private String id;
private Integer role;
...getters/setters
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment