From 91e5aa12737d67a64773f8a7ea7fbc0926df76d8 Mon Sep 17 00:00:00 2001
From: sunpengfei <i@angelzzz.com>
Date: 星期四, 14 八月 2025 17:20:25 +0800
Subject: [PATCH] fix:B端小程序——首页——列表显示了企业联系人的信息

---
 FlexJobApi.Core/Models/UserServer/EnterpriseEmployees/Commands/EditEnterpriseEmployeeCommand.cs |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/FlexJobApi.Core/Models/UserServer/EnterpriseEmployees/Commands/EditEnterpriseEmployeeCommand.cs b/FlexJobApi.Core/Models/UserServer/EnterpriseEmployees/Commands/EditEnterpriseEmployeeCommand.cs
index d3a4f04..6fd5c8e 100644
--- a/FlexJobApi.Core/Models/UserServer/EnterpriseEmployees/Commands/EditEnterpriseEmployeeCommand.cs
+++ b/FlexJobApi.Core/Models/UserServer/EnterpriseEmployees/Commands/EditEnterpriseEmployeeCommand.cs
@@ -1,6 +1,7 @@
 锘縰sing MediatR;
 using System;
 using System.Collections.Generic;
+using System.ComponentModel.DataAnnotations;
 using System.Linq;
 using System.Text;
 using System.Threading.Tasks;
@@ -16,17 +17,22 @@
         /// <summary>
         /// 濮撳悕
         /// </summary>
+        [Required]
         public string Name { get; set; }
 
         /// <summary>
         /// 韬唤璇佸彿
         /// </summary>
+        [Required]
+        [DataValidation(EnumValidationTypes.ValiIdentity)]
         public string Identity { get; set; }
 
         /// <summary>
         /// 鎵嬫満鍙�
         /// </summary>
         /// <remarks>鑱旂郴鐢佃瘽</remarks>
+        [Required]
+        [DataValidation(EnumValidationTypes.ValidPhoneNumber)]
         public string ContactPhoneNumber { get; set; }
 
         /// <summary>

--
Gitblit v1.9.1