From bf17ad2051de62b9b49fb72bf6ae14d23bfef62b Mon Sep 17 00:00:00 2001
From: sunpengfei <i@angelzzz.com>
Date: 星期四, 11 九月 2025 10:20:20 +0800
Subject: [PATCH] feat:开发

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

diff --git a/FlexJobApi.Core/Models/UserServer/EnterpriseEmployees/Commands/EditEnterpriseEmployeeCommand.cs b/FlexJobApi.Core/Models/UserServer/EnterpriseEmployees/Commands/EditEnterpriseEmployeeCommand.cs
index d3a4f04..e541ed1 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;
@@ -10,23 +11,28 @@
     /// <summary>
     /// 缂栬緫鐏靛伐淇℃伅
     /// </summary>
-    [Resource([EnumResourceController.EnterpriseEmployee])]
+    [Resource([EnumResourceController.UserServerEnterpriseEmployee])]
     public class EditEnterpriseEmployeeCommand : SaveDataCommand
     {
         /// <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