Specify a property to be an SUM aggregation.
@Sum is short hand for @Aggregation("sum(...propertyName...)")
Example:
@Sum
BigDecimal distance;
// is the same as:
@Aggregation("sum(distance)")
BigDecimal distance;