using 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;
namespace FlexJobApi.Core
{
///
/// 导入灵工信息
///
[Resource([EnumResourceController.EnterpriseEmployee])]
public class ImportEnterpriseEmployeesCommand : IRequest
{
///
/// Excel地址
///
public string ExcelUrl { get; set; }
}
public class ImportEnterpriseEmployeesCommandModel
{
///
/// 姓名
///
[Required]
public string Name { get; set; }
///
/// 手机号
///
/// 联系电话
[MaxLength(11)]
[Required]
public string ContactPhoneNumber { get; set; }
///
/// 身份证号
///
[Required]
public string Identity { get; set; }
}
}