From ad63bd48b1619e7c3779eefdf1d6a32a222169da Mon Sep 17 00:00:00 2001 From: sunpengfei <i@angelzzz.com> Date: 星期二, 09 九月 2025 09:33:19 +0800 Subject: [PATCH] feat:开发 --- FlexJobApi.Core/Models/UserServer/EnterpriseEmployees/Commands/ImportEnterpriseEmployeesCommand.cs | 31 ++++++++++++++++++++++++++++--- 1 files changed, 28 insertions(+), 3 deletions(-) diff --git a/FlexJobApi.Core/Models/UserServer/EnterpriseEmployees/Commands/ImportEnterpriseEmployeesCommand.cs b/FlexJobApi.Core/Models/UserServer/EnterpriseEmployees/Commands/ImportEnterpriseEmployeesCommand.cs index 713f542..49537cd 100644 --- a/FlexJobApi.Core/Models/UserServer/EnterpriseEmployees/Commands/ImportEnterpriseEmployeesCommand.cs +++ b/FlexJobApi.Core/Models/UserServer/EnterpriseEmployees/Commands/ImportEnterpriseEmployeesCommand.cs @@ -14,7 +14,7 @@ /// <summary> /// 瀵煎叆鐏靛伐淇℃伅 /// </summary> - [Resource([EnumResourceController.EnterpriseEmployee])] + [Resource([EnumResourceController.UserServerEnterpriseEmployee])] public class ImportEnterpriseEmployeesCommand : IRequest<ImportEnterpriseEmployeesCommandResult> { /// <summary> @@ -36,13 +36,30 @@ /// <summary> /// 鎵嬫満鍙� /// </summary> - /// <remarks>鑱旂郴鐢佃瘽</remarks> public string ContactPhoneNumber { get; set; } /// <summary> /// 韬唤璇佸彿 /// </summary> public string Identity { get; set; } + + /// <summary> + /// 鐢熸棩 + /// </summary> + [JsonIgnore] + public DateTime? Birthday { get; set; } + + /// <summary> + /// 骞撮緞 + /// </summary> + [JsonIgnore] + public int? Age { get; set; } + + /// <summary> + /// 鎬у埆 + /// </summary> + [JsonIgnore] + public EnumUserGender? Gender { get; set; } } /// <summary> @@ -50,22 +67,30 @@ /// </summary> public class ImportEnterpriseEmployeesCommandResult { + public ImportEnterpriseEmployeesCommandResult() + { + Errors = []; + } + /// <summary> /// 鎬绘暟 /// </summary> public int TotalCount { get; set; } + /// <summary> /// 鎴愬姛鏁伴噺 /// </summary> public int SuccessCount { get; set; } + /// <summary> /// 澶辫触鏁伴噺 /// </summary> public int FailCount { get; set; } + /// <summary> /// 閿欒淇℃伅 /// </summary> - public List<ImportEnterpriseEmployeesCommandResultError> MyProperty { get; set; } + public List<ImportEnterpriseEmployeesCommandResultError> Errors { get; set; } } /// <summary> -- Gitblit v1.9.1