From 9ead841625fd9cfd9dcc4098f97277dacf064882 Mon Sep 17 00:00:00 2001 From: sunpengfei <i@angelzzz.com> Date: 星期四, 14 八月 2025 09:23:29 +0800 Subject: [PATCH] feat:开发 --- FlexJobApi.Core/Models/UserServer/EnterpriseEmployees/Commands/ImportEnterpriseEmployeesCommand.cs | 27 +++++++++++++++++++++++++++ 1 files changed, 27 insertions(+), 0 deletions(-) diff --git a/FlexJobApi.Core/Models/UserServer/EnterpriseEmployees/Commands/ImportEnterpriseEmployeesCommand.cs b/FlexJobApi.Core/Models/UserServer/EnterpriseEmployees/Commands/ImportEnterpriseEmployeesCommand.cs index f47b21b..a9eaa68 100644 --- a/FlexJobApi.Core/Models/UserServer/EnterpriseEmployees/Commands/ImportEnterpriseEmployeesCommand.cs +++ b/FlexJobApi.Core/Models/UserServer/EnterpriseEmployees/Commands/ImportEnterpriseEmployeesCommand.cs @@ -1,6 +1,10 @@ 锘縰sing MediatR; +using Microsoft.AspNetCore.Http; +using MiniExcelLibs.Attributes; +using Newtonsoft.Json; using System; using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; @@ -18,4 +22,27 @@ /// </summary> public string ExcelUrl { get; set; } } + + public class ImportEnterpriseEmployeesCommandModel + { + /// <summary> + /// 濮撳悕 + /// </summary> + [Required] + public string Name { get; set; } + + /// <summary> + /// 鎵嬫満鍙� + /// </summary> + /// <remarks>鑱旂郴鐢佃瘽</remarks> + [MaxLength(11)] + [Required] + public string ContactPhoneNumber { get; set; } + + /// <summary> + /// 韬唤璇佸彿 + /// </summary> + [Required] + public string Identity { get; set; } + } } -- Gitblit v1.9.1