Initial commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package $package.domain.model;
|
||||
|
||||
$lombok_domain_imports
|
||||
$extra_imports
|
||||
|
||||
$lombok_domain_annotations_block
|
||||
public class $entity {
|
||||
$domain_fields_decls
|
||||
|
||||
private $entity($domain_ctor_params) {
|
||||
$domain_assigns
|
||||
}
|
||||
|
||||
public static $entity create($domain_ctor_params) {
|
||||
// TODO: add invariant checks
|
||||
return new $entity($all_names_csv);
|
||||
}
|
||||
|
||||
$domain_getters
|
||||
}
|
||||
Reference in New Issue
Block a user