Skip to content

Commit

Permalink
实体关系代码生成优化,移除参数fetchMode,增加参数generateParent
Browse files Browse the repository at this point in the history
  • Loading branch information
binking338 committed Oct 8, 2024
1 parent 9ccafb2 commit 25270af
Show file tree
Hide file tree
Showing 5 changed files with 108 additions and 135 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ Mediator中介者模式、
<entityClassExtraImports>static org.netcorepal.cap4j.ddd.domain.event.DomainEventSupervisorSupport.events</entityClassExtraImports>
<entitySchemaOutputMode>ref</entitySchemaOutputMode>
<entitySchemaOutputPackage>domain._share.meta</entitySchemaOutputPackage>
<fetchMode>SUBSELECT</fetchMode>
<fetchType>EAGER</fetchType>
<idGenerator>org.netcorepal.cap4j.ddd.domain.distributed.SnowflakeIdentifierGenerator</idGenerator>
<enumValueField>code</enumValueField>
Expand All @@ -83,6 +82,7 @@ Mediator中介者模式、
<generateDefault>false</generateDefault>
<generateDbType>true</generateDbType>
<generateSchema>true</generateSchema>
<generateParent>false</generateParent>
<aggregateRootAnnotation></aggregateRootAnnotation>
<aggregateRepositoryBaseClass></aggregateRepositoryBaseClass>
</configuration>
Expand Down
Loading

0 comments on commit 25270af

Please sign in to comment.