tfse-app-api-v0.2/company/company_obj.py

35 lines
925 B
Python

from company.company_impl import get_head_info_impl, get_industry_analysis_impl, get_esg_rating_impl, \
get_cc_rating_impl, get_basic_info_impl, get_financial_elements_impl, get_operating_risk_impl
class CompanyIndex:
"""
企业主页
"""
def __init__(self):
self.cid = None
self.tab = None
self.industry = None
def get_head_info(self):
return get_head_info_impl(self.cid)
def get_basic_info(self):
return get_basic_info_impl(self.cid)
def get_industry_analysis(self):
return get_industry_analysis_impl(self.cid)
def get_cc_rating(self):
return get_cc_rating_impl(self.cid)
def get_esg_rating(self):
return get_esg_rating_impl(self.cid)
def get_financial_elements(self):
return get_financial_elements_impl(self.cid)
def get_operating_risk(self):
return get_operating_risk_impl(self.cid)