using Newtonsoft.Json; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FlexJobApi.Core { /// /// 百度文字识别结果 /// public class BaiduOcrIdentityResult { /// /// 地址 /// public string Url { get; set; } /// /// 模型 /// public BaiduOcrIdentityResultModel Model { get; set; } /// /// 错误码 /// [JsonProperty("error_code")] public string ErrorCode { get; set; } /// /// 错误消息 /// [JsonProperty("error_msg")] public string ErrorMessage { get; set; } /// /// 文字结果 /// [JsonProperty("words_result")] public Dictionary WordsResult { get; set; } } /// /// 百度文字识别结果 /// public class BaiduOcrIdentityResultModel { /// /// 企业全称 /// public string EnterpriseName { get; set; } /// /// 统一社会信用代码 /// public string SocietyCreditCode { get; set; } /// /// 法人姓名 /// public string LegalPerson { get; set; } /// /// 企业类型 /// public string EnterpriseType { get; set; } /// /// 注册资本 /// public string RegisteredCapital { get; set; } /// /// 成立日期 /// public string EstablishmentDate { get; set; } /// /// 企业地址 /// public string Address { get; set; } /// /// 经营范围 /// public string MainBusiness { get; set; } } }