Skip to content

Instantly share code, notes, and snippets.

/Pet.java Secret

Created Jul 10, 2015
Embed
What would you like to do?
public class Pet implements Serializable {
// ...
@Group(order = 100, displayName = "Species")
public Species getSpecies() {
return species;
}
@AggregatedValue
@Group(order = 200, displayName = "Age")
public BigDecimal getAge() {
return age;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment