fxy.proto 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466
  1. package fxy;
  2. option java_package = "com.yaoyicloud.message";
  3. option java_outer_classname = "FxyProtos";
  4. message AddressData{
  5. // 企业名称
  6. optional string name = 1;
  7. // 成立日期
  8. optional string startDate = 2;
  9. // 企业法人
  10. optional string operName = 3;
  11. // 税号
  12. optional string creditNo = 4;
  13. // 注册资本
  14. optional string regCapiDesc = 5;
  15. // 企业状态
  16. optional string status = 6;
  17. }
  18. message ServiceProviderInfo {
  19. optional string name = 1; // ${服务商信息:服务商名称}
  20. optional string type = 2; // "基金会"
  21. optional string reportDate = 3; // ${服务商信息:报告日期}
  22. }
  23. message CheckItemDetail {
  24. optional string name = 1; //
  25. optional string desc = 2; //
  26. optional string fact = 3; //
  27. optional string result = 4; //
  28. optional int64 score = 5; //
  29. optional string reviewResult = 6; // 复核结果
  30. optional int32 reviewScore = 7; // 复核评分
  31. optional string category = 8;
  32. optional int32 rank = 9; // 展示排序
  33. optional string formula = 10; // 计算公式(如"公益支出/上年基金余额")
  34. optional string avg = 11; // 平均值
  35. }
  36. message CheckItemScore {
  37. optional string category = 1;
  38. optional string itemName = 2;
  39. optional int64 score = 3;
  40. }
  41. message CheckSummary {
  42. // optional int32 score = 1; // ${基本信息评分及建议:基本信息总分}
  43. optional string riskSummary = 2; // ${基本信息评分及建议:风险综述}
  44. optional string suggestion = 3 ; // ${基本信息评分及建议:建议}
  45. optional string score = 4; // ${基本信息评分及建议:基本信息总分}
  46. }
  47. message AuditResult {
  48. optional string opinion = 2; // ${审核结果:审核意见}
  49. optional string serviceProviderName = 3; // ${审核结果:服务商名称}
  50. optional string auditDate = 4; // ${审核结果:审核日期}
  51. optional string reportVersion = 5; // ${审核结果:报告版本}
  52. optional string tenantName = 6; // ${服务商信息:租户名称}
  53. optional CheckSummary overallSummary = 7;
  54. repeated CheckItemScore checkItemScores = 8;
  55. // optional string reportDate = 11; // ${服务商信息:报告日期}
  56. }
  57. message SuperiorAuthority {// 直属机关
  58. optional string sname = 1;
  59. optional string nature = 2;
  60. }
  61. message CompanyBasicInfoExt {
  62. optional string industry = 1; // 所属行业
  63. optional string paidInCapital = 2; // 实缴资本(单位:人民币万元)
  64. optional string enterpriseScale = 3; // 企业规模(如:小型)
  65. optional int32 insuredEmployees = 4; // 参保人数
  66. optional string businessStatus = 5; // 经营状态(如:存续)
  67. optional string registrationAuthority = 6; // 登记机关
  68. optional string taxpayerQualification = 7; // 纳税人资质(如:增值税一般纳税人)
  69. optional string enterpriseType = 8; // 企业类型(如:有限责任公司)
  70. }
  71. message AssociationBasicInfoExt {
  72. optional string corporateMembers = 1; // 单位会员数量(如:超x家)
  73. optional string individualMembers = 2; // 个人会员数量
  74. optional string membershipFeeStandard = 3; // 会费收取标准(多行文本)
  75. optional string mainActivityRegion = 4; // 主要活动覆盖地域(示例:长三角地区)
  76. optional string sponsorshipRatio = 5; // 上一年度xxx公司赞助和捐赠额占总社会赞助和捐赠比例(单位:%,示例:1%)
  77. }
  78. message FoundationBasicInfoExt {
  79. optional string foundationCategory = 1; // 基金会类别(公募/非公募)
  80. optional string lastYearSponsorshipDonationRatio = 2; // 上一年度XXX赞助和捐赠额占比(%)
  81. optional string initialFund = 3; // 原始基金(单位:元)
  82. optional string lastYearDonationIncome = 4; // 最近一年捐赠收入(单位:元)
  83. optional string secretaryGeneral = 5; // 秘书长
  84. optional string chairman = 6; // 理事长
  85. optional int32 numberOfDirectors = 7; // 理事人数
  86. }
  87. message Attachment {
  88. optional string fileName = 1;
  89. optional string fileUri = 2;
  90. }
  91. /* 通用基础信息 */
  92. message BasicInfo {
  93. optional string entName = 1;
  94. optional string establishmentDate = 2; // 成立登记日期(格式:yyyy-MM-dd)
  95. optional string registrationValidity = 3; // 登记有效期(格式:yyyy-MM-dd)
  96. optional string officialWebsite = 4; // 官方网站链接
  97. optional string registeredCapital = 5; // 注册资金(单位:万元)
  98. optional string netAsset = 6; // 净资产(单位:元)
  99. optional string businessScope = 7; // 业务范围描述
  100. optional string missionStatement = 8; // 机构宗旨
  101. optional string legalRepresentative = 9; // 法定代表人
  102. optional string officeAddress = 10; // 实际办公地址
  103. optional string location = 11; // 基金会所在地
  104. optional string contactNumber = 12; // 联系电话
  105. optional int32 fullTimeStaffCount = 13; // 全职员工数量
  106. optional string evaluationLevel = 14; // 评估等级(如:3A)
  107. optional bool useExternalService = 15; // 是否通常需要外包合作项目(true/false)
  108. optional string projectServiceVendors = 16; // 项目服务执行方名单(如:无/合作方名称列表)
  109. repeated SuperiorAuthority superiorAuthority = 17; // 业务主管单位情况
  110. optional string basicInfoCheckResult = 18;
  111. repeated Attachment relatedEntityImages = 19; // 支机构或专业委员会情况
  112. optional string relatedEntitiesResult = 20; // 利益冲突风险提示 根据客户在申报链接中填写的答案 填写是,提示1,填写不是,则提示0
  113. optional string certReceived = 21; // ${经营情况:《*登记证书》:相关资料是否收到}
  114. optional string renzcode = 22; // ${认证代码}
  115. optional string validate = 23; // ${有效期}
  116. optional string companyCode = 24; // ${统一社会信用代码}
  117. optional string companyRenzcode = 25; // ${认证代码}
  118. optional string companyValidate = 26; // ${有效期}
  119. optional string bankLicense = 27; //银行开户许可证
  120. optional string bankRenzcode = 28; // ${认证代码}
  121. optional string bankValidate = 29; // ${有效期}
  122. optional string annualInspectionResult = 30; // ${经营情况:年检结果}
  123. repeated CheckItemDetail basicInfoChecks = 31; // 审查内容
  124. optional CheckSummary basicInfoSummary = 32; // 基本信息评分及建议(2.5)
  125. optional CompanyBasicInfoExt platformExt = 33;
  126. optional AssociationBasicInfoExt associationExt = 34;
  127. optional FoundationBasicInfoExt foundationExt = 35;
  128. repeated SameAddress sameaddress = 36; // 相同地址企业
  129. // repeated string seconds = 37; //二级标题的后半部分
  130. map<string, string> secondsMap = 38; //二级标题连续定义
  131. repeated SamecontactNumber samecontactNumberDatas = 39; // 相同电话企业
  132. }
  133. message DishonestPersonsInfo {
  134. optional string province = 1; // 省份
  135. optional string inDate = 2; // 立案时间
  136. optional string docNumber = 3; // 执行依据文号
  137. optional string finalDuty = 4; // 生效法律文书确定的义务
  138. optional string executionStatus = 5; // 被执行人履行情况
  139. optional string caseNumber = 6; // 案号
  140. optional string amount = 7; // 执行标的
  141. optional string publishDate = 8; // 发布日期
  142. optional string court = 9; // 执行法院
  143. optional string executionDesc = 10; // 失信被执行人行为情况
  144. optional string disabled = 11; // 是否是历史
  145. optional string operName = 12; // 法定代表人
  146. optional string number = 13; // 组织机构号
  147. optional string exDepartment = 14; // 做出执行依据单位
  148. optional string id = 15;
  149. }
  150. message AbnormalsInfo {
  151. optional string entName = 1; // 企业名称
  152. optional string inDate = 2; // 列入时间
  153. optional string department = 3; // 做出决定机关
  154. optional string province = 4; // 省份
  155. optional string outDate = 5; // 移出时间
  156. optional string outReason = 6; // 移出原因
  157. optional string regNo = 7; // 注册号
  158. optional string disabled = 8; // 历史异常
  159. optional string inReason = 9; // 列入原因
  160. optional string outDepartment = 10; // 移出决定机关
  161. optional string id = 11;
  162. }
  163. message AdministrativePenaltyRecord {
  164. optional string number = 1; // 决定书文号
  165. optional string penaltyData = 2; // 处罚日期
  166. optional string departmentName = 3;
  167. optional string entName = 4; // 企业名称
  168. optional string illegalType = 5; // 违法行为类型
  169. optional string source = 6; // 来源
  170. optional string content = 7; // 行政处罚内容
  171. optional string publishDate = 8; // 公示日期
  172. optional string description = 9; // 详情
  173. optional string disabled = 10; // 是否成为历史
  174. optional string basedOn = 11; // 处罚依据
  175. optional string seqNo = 12; // 序号
  176. optional string operName = 13; // 法定代表人
  177. optional string punishAmnt = 14; // 罚款金额
  178. optional string department = 15; // 决定机关名称
  179. optional string id = 16;
  180. }
  181. message AdministrativeTaxPenalty {
  182. optional string departmentName = 1; // 企业名称
  183. optional string time = 2; // 发生时间
  184. optional string type = 3; // 公示税务机关
  185. optional string uTags = 4; // 是否是历史
  186. optional string property = 5; // 案件性质
  187. optional string createTime = 6; // 创建时间
  188. optional string financeOfficer = 7; // 财务负责人
  189. optional string name = 8; // 纳税人名称
  190. optional string creditNo = 9; // 纳税人识别号
  191. optional string oper = 10; // 法定代表人
  192. optional string address = 11; // 注册地址
  193. optional string result = 12; // 相关法律依据及,税务处理处罚情况
  194. optional string orgNo = 13; // 组织机构代码
  195. optional string url = 14; // 原文链接
  196. optional string id = 15;
  197. }
  198. message AdministrativeSeriousIllegal {
  199. optional string departName = 1; // 企业名称
  200. optional string time = 2; // 列入日期
  201. optional string decisionDept = 3; // 作出决定机关(列入)
  202. optional string inReason = 4; // 列入原因
  203. optional string outDate = 5; // 移出时间
  204. optional string outReason = 6; // 移出原因
  205. optional string outDepartment = 7; // 作出决定机关(移出)
  206. optional string isHistory = 8; // 是否是历史信息
  207. optional string id = 9;
  208. }
  209. message PublicRecord {
  210. repeated DishonestPersonsInfo dishonestPersons = 1; // 失信被执行人(3.1)
  211. repeated AbnormalsInfo businessAbnormals = 2; // 经营异常(3.2)
  212. repeated AdministrativePenaltyRecord penaltyRecords = 3; // 行政处罚记录(3.3)
  213. repeated AdministrativeTaxPenalty taxPenalties = 4; // 税务处罚记录(3.4)
  214. repeated AdministrativeSeriousIllegal severeViolations = 5; // 严重违法记录(3.5)
  215. optional CheckSummary publicRecordSummary = 6; // 公共记录评分及建议(3.6)
  216. //新版报告专用
  217. repeated CheckItemDetail judicialRiskChecks = 7; // 司法风险
  218. repeated CheckItemDetail taxationRiskChecks = 8; //税务风险
  219. optional string qualification = 9; //纳税人类型
  220. optional string grade = 10; //纳税信用评级
  221. }
  222. message FinancialData {
  223. optional int32 year = 1; // 年份(如2022、2023、2024)
  224. optional string donationIncome = 2; // 捐赠收入(单位:元)
  225. optional string publicExpense = 3; // 公益事业支出(单位:元)
  226. optional string totalAssets = 4; // 总资产(单位:元) 资产合计
  227. optional string netAssets = 5; // 净资产(单位:元)
  228. optional string totalIncome = 6; // 总收入(单位:元) 收入合计
  229. optional string investmentIncome = 7; // 投资收益(单位:元)
  230. optional string governmentGrants = 8; // 政府补助收入(单位:元)
  231. optional string serviceIncome = 9; // 服务收入(单位:元)
  232. optional string totalExpense = 10; // 总支出(单位:元)
  233. optional string salaryExpense = 11; // 工资福利支出(单位:元)
  234. optional string adminExpense = 12; // 行政办公支出(单位:元)
  235. optional string activityCost = 13; // 业务活动成本(单位:元)
  236. optional string managementExpense = 14; // 管理费用(单位:元)
  237. optional string fundraisingExpense = 15; // 筹资费用(单位:元)
  238. optional string lastYearFundBalance = 16; // 上年基金余额(单位:元)
  239. optional string flowAssets = 17; // 流动资产
  240. optional string flowLiabilities = 18; // 流动负债
  241. optional string flowCapital = 19; // 营运资本
  242. optional string fixedAsset = 20; // 固定资产
  243. optional string inventory = 21; // 存货
  244. optional string receivables = 22; // 应收账款
  245. optional string liabTotal = 23; // 总负债
  246. optional string las3yTotAmtLiaEquMap = 24; // 所有者权益
  247. optional string operatingIncome = 25; // 营业收入
  248. optional string mainBusInc = 26; // 主营业务收入
  249. optional string mainBusProfit = 27; // 营业利润
  250. optional string netProfit = 28; // 净利润
  251. optional string las3yTotProfMap = 29; // 利润总额
  252. optional string interestExpense = 30; // 利息支出
  253. //捐赠项目成本
  254. optional string donationProjectCost = 31;
  255. //净资产合计
  256. optional string totalNetAssets = 32;
  257. //费用合计
  258. optional string totalCost = 33;
  259. }
  260. message FinancialIndicator {
  261. optional string category = 1; // 分类(如"运营能力"、"发展能力")
  262. optional string indicatorName = 2; // 指标名称(如"公益支出比例")财务指标
  263. optional string formula = 3; // 计算公式(如"公益支出/上年基金余额")
  264. repeated string values = 4; //按年取值
  265. }
  266. message FinancialInfo {
  267. repeated FinancialData financialDataSeq = 1; // 重要财务数据(4.1)
  268. repeated string years = 4; //按年取值
  269. optional string remark = 5; // 备注
  270. repeated FinancialIndicator indicators = 9; // 财务指标(4.2)
  271. repeated CheckItemDetail financialCheckDetails = 10;
  272. optional CheckSummary financialSummary = 11; // 财务信息评分及建议(4.3)
  273. repeated Attachment financialFiles = 12; // 没有财务解析时的临时方案
  274. // 平台报告新加字段
  275. optional string operatingRevenue = 13; // 最近一年营业收入
  276. optional string neProfit = 14; // 最近一年净利润
  277. optional string certReceived = 15; // ${经营情况:《*登记证书》:相关资料是否收到}
  278. optional string renzcode = 16; // ${认证代码}
  279. optional string validate = 17; // ${有效期}
  280. optional string annualInspectionResult = 18; // ${经营情况:年检结果}
  281. optional string bankLicense = 19; //银行开户许可证
  282. repeated CheckItemDetail businessRiskChecks = 20; //经营风险提示
  283. }
  284. message QuestionnaireItem {
  285. optional int32 id = 1;
  286. optional string question = 2;
  287. optional string answer = 3;
  288. }
  289. message AntiBribery {
  290. repeated QuestionnaireItem questionnaireItems = 1; // 反贿赂反腐败诚信保证问卷
  291. optional CheckSummary antiBriberySummary = 2; // 反贿赂反腐败诚信保证评分及建议
  292. repeated CheckItemDetail otherRiskChecks = 3; // 审查内容
  293. }
  294. message ProjectInfo {
  295. repeated Attachment files = 1; //项目情况
  296. optional CheckSummary projectInfoSummary = 2;
  297. }
  298. /* 包含所有可能的附件 */
  299. message AttachmentSection {
  300. optional string selfDeclLink = 1;
  301. repeated string fillDeclLinks = 2;
  302. repeated Attachment businessLicenseImages = 3; // 营业执照图片路径
  303. repeated Attachment bankCertificateImages = 4; // 银行开户证明图片路径
  304. repeated Attachment isoCertificationImages = 5; // ISO认证证书图片路径
  305. repeated Attachment otherCertifications = 6; // 其他资质文件路径
  306. repeated Attachment securityLevelCertifications = 7; // 信息安全等级保护证明路径
  307. repeated Attachment organizationalStructureImages = 8; // 组织架构图路径
  308. repeated Attachment financialInfoLinks = 9; // 财务信息在线链接
  309. repeated Attachment taxDeclarationImages = 10; // 增值税申报表路径
  310. repeated Attachment taxPaymentCertificateImages = 11; // 完税凭证图片路径
  311. repeated Attachment socialSecurityDetailsLinks = 12; // 社保缴纳证明路径
  312. repeated Attachment nsxydjwj = 13; // 纳税信用等级相关支持性文件
  313. repeated Attachment interestConflicts = 14; // 利益冲突
  314. repeated Attachment disanfangcangzhaos = 15; // 第三方参照
  315. repeated Attachment overallGuaranteeStatements = 16; // 总体保证声明
  316. }
  317. //message Address{
  318. // optional string name = 1;//企业名称
  319. //}
  320. message AssociationattachmentSection {
  321. optional string selfDeclLink = 1;
  322. repeated string fillDeclLinks = 2;
  323. repeated Attachment businessLicenseImages = 3; // 营业执照图片路径
  324. repeated Attachment bankCertificateImages = 4; // 银行开户证明图片路径
  325. repeated Attachment overallGuaranteeStatements = 16; // 总体保证声明
  326. repeated Attachment legalRegistrationCertImages = 17; //社会团体法人登记证书图片路径(多张)
  327. repeated Attachment annualInspectionResultImage = 18; //最新年检结果页图片路径
  328. repeated Attachment assessmentLevelCertImage = 19; //评估等级证书图片路径(1A-5A)
  329. repeated Attachment fullCharterImage = 20; //完整章程副本
  330. repeated Attachment topDonorsListImage = 21; //前十大捐赠方名单图片路径
  331. repeated Attachment topExpenditureListImage = 22; //前十大支出方名单图片路径
  332. repeated Attachment managementFilingFormImage = 23; //管理层备案表图片路径(如有)
  333. repeated Attachment jigoupinggu = 24; //机构评估等级证书
  334. repeated Attachment nianjianjieguo = 25; //年检结果通知单
  335. repeated Attachment principalInfoImage = 26; //机构负责人信息图片路径
  336. repeated Attachment projectInfoImage = 27; //项目信息
  337. repeated Attachment otherInfoImage = 28; //其他分支机构
  338. repeated Attachment branchInfoImage = 29; //地方分会情况图片路径
  339. repeated Attachment financialStatementsForLastThreeYears = 31; //最近三年财务报表
  340. repeated Attachment relatedEntitySituation = 32; //关联实体情况
  341. repeated Attachment organizationalStructureScan = 33; //组织结构-扫描件并加盖公章
  342. }
  343. message SamecontactNumber {
  344. // 企业名称
  345. optional string name = 1;
  346. // 成立日期
  347. optional string startDate = 2;
  348. // 税号
  349. optional string creditNo = 4;
  350. // 注册资本
  351. optional string regCapiDesc = 5;
  352. }
  353. message SameAddress {
  354. // 企业名称
  355. optional string name = 1;
  356. // 成立日期
  357. optional string startDate = 2;
  358. // 企业法人
  359. optional string operName = 3;
  360. // 税号
  361. optional string creditNo = 4;
  362. // 注册资本
  363. optional string regCapiDesc = 5;
  364. // 企业状态
  365. optional string status = 6;
  366. }