2023-03-23 15:31:16 +08:00
|
|
|
|
from typing import List
|
|
|
|
|
|
|
|
|
|
from pydantic import BaseModel
|
|
|
|
|
|
|
|
|
|
|
2023-03-23 17:06:26 +08:00
|
|
|
|
class CompanyBaseInfoRes:
|
2023-03-23 15:31:16 +08:00
|
|
|
|
id: int #
|
|
|
|
|
name: str # 企业名
|
|
|
|
|
historyNames: str # 曾用名
|
|
|
|
|
historyNameList: List[str] # 曾用名
|
|
|
|
|
fromTime: int # 经营开始时间
|
|
|
|
|
estiblishTime: int # 成立日期
|
|
|
|
|
legalPersonName: str # 法人
|
|
|
|
|
type: int # 法人类型,1 人 2 公司
|
|
|
|
|
companyOrgType: str # 企业类型
|
|
|
|
|
regStatus: str # 企业状态
|
|
|
|
|
regCapital: str # 注册资本
|
|
|
|
|
city: str # 市
|
|
|
|
|
district: str # 区
|
|
|
|
|
staffNumRange: str # 人员规模
|
|
|
|
|
bondNum: int # 股票号
|
|
|
|
|
bondName: str # 股票名
|
|
|
|
|
usedBondName: str # 股票曾用名
|
|
|
|
|
bondType: str # 股票类型
|
|
|
|
|
revokeDate: int # 吊销日期
|
|
|
|
|
updateTimes: int # 更新时间
|
|
|
|
|
revokeReason: str # 吊销原因
|
|
|
|
|
compForm: int # 组成形式,1-个人经营、2-家庭经营
|
|
|
|
|
regNumber: int # 注册号
|
|
|
|
|
creditCode: str # 统一社会信用代码
|
|
|
|
|
property3: str # 英文名
|
|
|
|
|
approvedTime: int # 核准时间
|
|
|
|
|
socialStaffNum: int # 参保人数
|
|
|
|
|
actualCapitalCurrency: str # 实收注册资本币种
|
|
|
|
|
alias: str # 简称
|
|
|
|
|
cancelReason: str # 注销原因
|
|
|
|
|
cancelDate: int # 注销日期
|
|
|
|
|
orgNumber: int # 组织机构代码
|
|
|
|
|
toTime: int # 经营结束时间
|
|
|
|
|
actualCapital: str # 实收注册资金
|
|
|
|
|
regInstitute: str # 登记机关
|
|
|
|
|
businessScope: str # 经营范围
|
|
|
|
|
taxNumber: str # 纳税人识别号
|
|
|
|
|
regLocation: str # 注册地址
|
|
|
|
|
regCapitalCurrency: str # 注册资本币种
|
|
|
|
|
tags: str
|
|
|
|
|
percentileScore: int # 企业评分
|
|
|
|
|
base: str # 省份简称
|
|
|
|
|
industry: str # 行业
|
|
|
|
|
|
|
|
|
|
class industryAll:
|
|
|
|
|
categoryMiddle: str # 国民经济行业分类门类
|
|
|
|
|
categoryBig: str # 国民经济行业分类大类
|
|
|
|
|
category: str # 国民经济行业分类门类
|
|
|
|
|
categorySmall: str # 国民经济行业分类小类
|
|
|
|
|
|
|
|
|
|
isMicroEnt: int # 是否是小微企业 0不是 1是
|
2023-03-23 17:06:26 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class CompanyShareHolderItemInfoCapital:
|
|
|
|
|
amomon: str # 出资金额
|
|
|
|
|
paymet: str # 实缴方式
|
|
|
|
|
time: str # 出资时间
|
|
|
|
|
percent: str # 实缴方式
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class CompanyShareHolderItemInfo:
|
|
|
|
|
"""
|
|
|
|
|
天眼查股东信息
|
|
|
|
|
"""
|
|
|
|
|
cgid: str # 公司id
|
|
|
|
|
capital: List[CompanyShareHolderItemInfoCapital] # 出资信息
|
|
|
|
|
name: str # 股东名
|
|
|
|
|
capitalActl: List
|
|
|
|
|
logo: str
|
|
|
|
|
alias: str
|
|
|
|
|
id: int
|
|
|
|
|
type: int # 股东类型 1-公司 2-人 3-其它
|
|
|
|
|
hcgid: str
|