mirror of
https://github.com/OpenSPG/openspg.git
synced 2025-11-03 03:25:04 +00:00
Merge remote-tracking branch 'upstream/branch0101' into branch0101
# Conflicts: # python/knext/knext/examples/financial/schema/financial_schema_helper.py
This commit is contained in:
commit
64e07ce051
@ -28,10 +28,9 @@ import com.antgroup.openspg.builder.model.record.BaseRecord;
|
||||
import com.antgroup.openspg.builder.model.record.BuilderRecord;
|
||||
import com.antgroup.openspg.core.schema.model.identifier.SPGTypeIdentifier;
|
||||
import com.antgroup.openspg.core.schema.model.type.BaseSPGType;
|
||||
import com.google.common.collect.Lists;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import com.google.common.collect.Lists;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
@Slf4j
|
||||
|
||||
@ -37,6 +37,7 @@
|
||||
<mainClass>com.antgroup.openspg.builder.runner.local.LocalBuilderMain</mainClass>
|
||||
</manifest>
|
||||
</archive>
|
||||
<outputDirectory>../../../python/knext/knext/lib</outputDirectory>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
|
||||
@ -26,51 +26,51 @@ class Financial:
|
||||
name = PropertyHelper("name")
|
||||
stdId = PropertyHelper("stdId")
|
||||
alias = PropertyHelper("alias")
|
||||
|
||||
|
||||
class AreaRiskEvent(SPGTypeHelper):
|
||||
description = PropertyHelper("description")
|
||||
id = PropertyHelper("id")
|
||||
name = PropertyHelper("name")
|
||||
eventTime = PropertyHelper("eventTime")
|
||||
object = PropertyHelper("object")
|
||||
subject = PropertyHelper("subject")
|
||||
|
||||
object = PropertyHelper("object")
|
||||
eventTime = PropertyHelper("eventTime")
|
||||
|
||||
class Company(SPGTypeHelper):
|
||||
description = PropertyHelper("description")
|
||||
id = PropertyHelper("id")
|
||||
name = PropertyHelper("name")
|
||||
orgCertNo = PropertyHelper("orgCertNo")
|
||||
establishDate = PropertyHelper("establishDate")
|
||||
regArea = PropertyHelper("regArea")
|
||||
regCapital = PropertyHelper("regCapital")
|
||||
businessScope = PropertyHelper("businessScope")
|
||||
legalPerson = PropertyHelper("legalPerson")
|
||||
|
||||
regArea = PropertyHelper("regArea")
|
||||
establishDate = PropertyHelper("establishDate")
|
||||
businessScope = PropertyHelper("businessScope")
|
||||
|
||||
class CompanyEvent(SPGTypeHelper):
|
||||
description = PropertyHelper("description")
|
||||
id = PropertyHelper("id")
|
||||
name = PropertyHelper("name")
|
||||
location = PropertyHelper("location")
|
||||
eventTime = PropertyHelper("eventTime")
|
||||
happenedTime = PropertyHelper("happenedTime")
|
||||
subject = PropertyHelper("subject")
|
||||
location = PropertyHelper("location")
|
||||
happenedTime = PropertyHelper("happenedTime")
|
||||
object = PropertyHelper("object")
|
||||
|
||||
|
||||
class Indicator(SPGTypeHelper):
|
||||
description = PropertyHelper("description")
|
||||
id = PropertyHelper("id")
|
||||
name = PropertyHelper("name")
|
||||
stdId = PropertyHelper("stdId")
|
||||
alias = PropertyHelper("alias")
|
||||
|
||||
|
||||
class State(SPGTypeHelper):
|
||||
description = PropertyHelper("description")
|
||||
id = PropertyHelper("id")
|
||||
name = PropertyHelper("name")
|
||||
causes = PropertyHelper("causes")
|
||||
alias = PropertyHelper("alias")
|
||||
derivedFrom = PropertyHelper("derivedFrom")
|
||||
causes = PropertyHelper("causes")
|
||||
stdId = PropertyHelper("stdId")
|
||||
alias = PropertyHelper("alias")
|
||||
|
||||
AdministrativeArea = AdministrativeArea("Financial.AdministrativeArea")
|
||||
AreaRiskEvent = AreaRiskEvent("Financial.AreaRiskEvent")
|
||||
|
||||
@ -127,9 +127,10 @@
|
||||
</descriptorRefs>
|
||||
<archive>
|
||||
<manifest>
|
||||
<mainClass>com.antgroup.openspg.builder.runner.local.LocalBuilderMain</mainClass>
|
||||
<mainClass>com.antgroup.openspg.reasoner.runner.local.LocalReasonerMain</mainClass>
|
||||
</manifest>
|
||||
</archive>
|
||||
<outputDirectory>../../../python/knext/knext/lib</outputDirectory>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user