templates.aggregate_root.st Maven / Gradle / Ivy
package ;
import poussecafe.discovery.Aggregate;
import poussecafe.domain.AggregateRoot;
import poussecafe.domain.EntityAttributes;
import poussecafe.attribute.Attribute;
@Aggregate(
factory = Factory.class,
repository = Repository.class
)
public class extends AggregateRoot\<Id, .Attributes> {
public static interface Attributes extends EntityAttributes\<Id> {
Attribute\ name();
}
}