openspg/python/knext/examples/supplychain/schema/supplychain_schema_helper.py

156 lines
4.2 KiB
Python

# Copyright 2023 Ant Group CO., Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
# in compliance with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software distributed under the License
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
# or implied.
# ATTENTION!
# This file is generated by Schema automatically, it will be refreshed after schema has been committed
# PLEASE DO NOT MODIFY THIS FILE!!!
class SupplyChain:
def __init__(self):
self.Company = self.Company()
self.CompanyEvent = self.CompanyEvent()
self.Index = self.Index()
self.Industry = self.Industry()
self.Person = self.Person()
self.Product = self.Product()
self.ProductChainEvent = self.ProductChainEvent()
self.TaxOfCompanyEvent = self.TaxOfCompanyEvent()
self.TaxOfProdEvent = self.TaxOfProdEvent()
self.Trend = self.Trend()
class Company:
__typename__ = "SupplyChain.Company"
description = "description"
id = "id"
name = "name"
fundTrans6Month = "fundTrans6Month"
fundTrans1Month = "fundTrans1Month"
product = "product"
cashflowDiff1Month = "cashflowDiff1Month"
cashflowDiff3Month = "cashflowDiff3Month"
fundTrans3Month = "fundTrans3Month"
fundTrans1MonthIn = "fundTrans1MonthIn"
totalTransInAmt = "totalTransInAmt"
cashflowDiff6Month = "cashflowDiff6Month"
fundTrans3MonthIn = "fundTrans3MonthIn"
fundTrans6MonthIn = "fundTrans6MonthIn"
def __init__(self):
pass
class CompanyEvent:
__typename__ = "SupplyChain.CompanyEvent"
description = "description"
id = "id"
name = "name"
belongTo = "belongTo"
subject = "subject"
eventTime = "eventTime"
leadTo = "leadTo"
index = "index"
trend = "trend"
def __init__(self):
pass
class Index:
__typename__ = "SupplyChain.Index"
description = "description"
id = "id"
name = "name"
alias = "alias"
stdId = "stdId"
def __init__(self):
pass
class Industry:
__typename__ = "SupplyChain.Industry"
description = "description"
id = "id"
name = "name"
stdId = "stdId"
alias = "alias"
def __init__(self):
pass
class Person:
__typename__ = "SupplyChain.Person"
description = "description"
id = "id"
name = "name"
legalRepresentative = "legalRepresentative"
certNo = "certNo"
age = "age"
def __init__(self):
pass
class Product:
__typename__ = "SupplyChain.Product"
description = "description"
id = "id"
name = "name"
hasSupplyChain = "hasSupplyChain"
belongToIndustry = "belongToIndustry"
stdId = "stdId"
alias = "alias"
def __init__(self):
pass
class ProductChainEvent:
__typename__ = "SupplyChain.ProductChainEvent"
description = "description"
id = "id"
name = "name"
trend = "trend"
index = "index"
eventTime = "eventTime"
belongTo = "belongTo"
subject = "subject"
def __init__(self):
pass
class TaxOfCompanyEvent:
__typename__ = "SupplyChain.TaxOfCompanyEvent"
description = "description"
id = "id"
name = "name"
alias = "alias"
stdId = "stdId"
def __init__(self):
pass
class TaxOfProdEvent:
__typename__ = "SupplyChain.TaxOfProdEvent"
description = "description"
id = "id"
name = "name"
alias = "alias"
stdId = "stdId"
def __init__(self):
pass
class Trend:
__typename__ = "SupplyChain.Trend"
description = "description"
id = "id"
name = "name"
alias = "alias"
stdId = "stdId"
def __init__(self):
pass