Created
January 20, 2012 07:15
-
-
Save krams915/1645948 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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