public JpaDomainModelDecorator(DomainModelTemplate template, IApplication application) { _template = template; _application = application; _template.AddDependency(new JavaDependency("org.springframework.boot", "spring-boot-starter-data-jpa")); _template.AddDependency(new JavaDependency("org.springframework.boot", "spring-boot-starter-jdbc")); _template.AddDependency(new JavaDependency("com.h2database", "h2")); }
public ValidationDomainModelDecorator(DomainModelTemplate template, IApplication application) { _template = template; _application = application; _template.AddDependency(new JavaDependency("javax.validation", "validation-api")); }