using Mapster; using MediatR; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FlexJobApi.Core { /// /// 查询企业详情 /// [Resource([EnumResourceController.Enterprise])] public class GetEnterpriseQuery : IRequest { /// /// Id /// public Guid Id { get; set; } } /// /// 查询企业详情-结果 /// public class GetEnterpriseQueryResult { /// /// Id /// public Guid Id { get; set; } /// /// 企业全称 /// [AdaptIgnore] public string EnterpriseName => EnterpriseAuth.EnterpriseName; /// /// 统一社会信用代码 /// [AdaptIgnore] public string SocietyCreditCode => EnterpriseAuth.SocietyCreditCode; /// /// 法人姓名 /// [AdaptIgnore] public string LegalPerson => EnterpriseAuth.LegalPerson; /// /// 法人身份证号 /// [AdaptIgnore] public string LegalIdentity => EnterpriseAuth.LegalIdentity; /// /// 企业认证 /// [Newtonsoft.Json.JsonIgnore, Swashbuckle.AspNetCore.Annotations.SwaggerIgnore] public SaveEnterpriseCommandAuth EnterpriseAuth { get; set; } /// /// 所在省份 /// public string ProvinceContent { get; set; } /// /// 所在城市 /// public string CityContent { get; set; } /// /// 所属行业 /// public string IndustryTypeContent { get; set; } /// /// 主营业务 /// public string MainBusiness { get; set; } /// /// 联系人 /// public string Contacts { get; set; } /// /// 联系电话 /// public string ContactPhoneNumber { get; set; } /// /// 联系邮箱 /// public string ContactEmail { get; set; } /// /// 账号 /// public string UserName { get; set; } } /// /// 查询企业详情-结果-企业认证 /// public class GetEnterpriseQueryResultAuth { /// /// 企业全称 /// public string EnterpriseName { get; set; } /// /// 统一社会信用代码 /// public string SocietyCreditCode { get; set; } /// /// 法人姓名 /// public string LegalPerson { get; set; } /// /// 法人身份证号 /// public string LegalIdentity { get; set; } } }