From c97916f276a328fa70696a8582dc0c23144424f9 Mon Sep 17 00:00:00 2001
From: sunpengfei <i@angelzzz.com>
Date: 星期三, 06 八月 2025 16:59:32 +0800
Subject: [PATCH] feat:企业开发

---
 FlexJobApi.Core/Models/User/Enterprises/Queries/GetEnterprisesQuery.cs |   88 ++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 77 insertions(+), 11 deletions(-)

diff --git a/FlexJobApi.Core/Models/User/Enterprises/Queries/GetEnterprisesQuery.cs b/FlexJobApi.Core/Models/User/Enterprises/Queries/GetEnterprisesQuery.cs
index 739cb0c..668691b 100644
--- a/FlexJobApi.Core/Models/User/Enterprises/Queries/GetEnterprisesQuery.cs
+++ b/FlexJobApi.Core/Models/User/Enterprises/Queries/GetEnterprisesQuery.cs
@@ -1,4 +1,6 @@
-锘縰sing MediatR;
+锘縰sing Mapster;
+using MediatR;
+using Newtonsoft.Json;
 using System;
 using System.Collections.Generic;
 using System.ComponentModel.DataAnnotations;
@@ -22,11 +24,11 @@
         /// <summary>
         /// 鏄惁宸查厤缃�
         /// </summary>
-        public bool IsConfigured { get; set; }
+        public bool? IsConfigured { get; set; }
     }
 
     /// <summary>
-    /// 鏌ヨ浼佷笟淇℃伅鍒嗛〉鍒楄〃鏁版嵁
+    /// 鏌ヨ浼佷笟淇℃伅鍒嗛〉鍒楄〃鏁版嵁-缁撴灉-椤�
     /// </summary>
     public class GetEnterprisesQueryResultItem
     {
@@ -35,6 +37,76 @@
         /// </summary>
         public Guid Id { get; set; }
 
+        /// <summary>
+        /// 鑱旂郴浜�
+        /// </summary>
+        public string Contacts { get; set; }
+
+        /// <summary>
+        /// 鑱旂郴鐢佃瘽
+        /// </summary>
+        public string ContactNumber { get; set; }
+
+        /// <summary>
+        /// 鎵�鍦ㄧ渷浠絀d
+        /// </summary>
+        public Guid? ProvinceId { get; set; }
+
+        /// <summary>
+        /// 鎵�鍦ㄧ渷浠�
+        /// </summary>
+        public DictionaryDataQueryResult Province { get; set; }
+
+        /// <summary>
+        /// 鎵�鍦ㄥ煄甯侷d
+        /// </summary>
+        public Guid? CityId { get; set; }
+
+        /// <summary>
+        /// 鎵�鍦ㄥ煄甯�
+        /// </summary>
+        public DictionaryDataQueryResult City { get; set; }
+
+        /// <summary>
+        /// 鎵�灞炶涓欼d
+        /// </summary>
+        public Guid? IndustryTypeId { get; set; }
+
+        /// <summary>
+        /// 鎵�灞炶涓�
+        /// </summary>
+        public DictionaryDataQueryResult IndustryType { get; set; }
+
+        /// <summary>
+        /// 鏄惁宸叉牎楠岄摱琛岃处鎴�
+        /// </summary>
+        [JsonIgnore]
+        public bool IsCheckedBankCard { get; set; }
+
+        /// <summary>
+        /// 瀹炲悕閫氶亾
+        /// </summary>
+        [JsonIgnore]
+        public EnumRealAccess? RealAccess { get; set; }
+
+        /// <summary>
+        /// 鐭俊閫氶亾
+        /// </summary>
+        [JsonIgnore]
+        public EnumSmsAccess? SmsAccess { get; set; }
+
+        /// <summary>
+        /// 鏄惁宸查厤缃�
+        /// </summary>
+        [AdaptIgnore]
+        public bool IsConfigured => IsCheckedBankCard && RealAccess.HasValue && SmsAccess.HasValue;
+    }
+
+    /// <summary>
+    /// 鏌ヨ浼佷笟淇℃伅鍒嗛〉鍒楄〃鏁版嵁-缁撴灉-椤�-璁よ瘉
+    /// </summary>
+    public class GetEnterprisesQueryResultItemAuth
+    {
         /// <summary>
         /// 浼佷笟鍏ㄧО
         /// </summary>
@@ -51,14 +123,8 @@
         public string SocietyCreditCode { get; set; }
 
         /// <summary>
-        /// 鑱旂郴浜�
+        /// 鏄惁瀹炲悕
         /// </summary>
-        public string Contacts { get; set; }
-
-        /// <summary>
-        /// 鑱旂郴鐢佃瘽
-        /// </summary>
-        public string ContactNumber { get; set; }
-
+        public bool IsReal { get; set; }
     }
 }

--
Gitblit v1.9.1