using System.ComponentModel; using System.ComponentModel.DataAnnotations; using DS.Module.Core.Extensions; using FluentValidation; namespace DS.WMS.Core.Sys.Dtos; /// /// 用户编辑Excel导入实体 /// public class UserExcelImportReq { /// /// /// 登陆账号 /// public string UserCode { get; set; } /// /// 员工代码 /// public string UserNumber { get; set; } public string Password { get; set; } /// /// 中文名称 /// public string UserName { get; set; } /// /// 性别 1-男 2-女 3 -未知 /// public string Sex { get; set; } /// /// /// public DateTime? Birthday { get; set; } = DateTime.MinValue; /// /// 手机号码 /// public string Phone { get; set; } = ""; /// /// 邮箱 /// public string Email { get; set; } = ""; /// /// 电话 /// public string Tel { get; set; } /// /// 办公电话 /// public string OfficePhone { get; set; } /// /// 传真 /// public string Fax { get; set; } /// /// 财务软件代码 /// public string FinanceSoftCode { get; set; } /// /// 职位 /// public string Duty { get; set; } = ""; /// /// 用户类型 1-管理员 2-普通用户 /// public int UserType { get; set; } = 1; /// /// 备注 /// public string Note { get; set; } = ""; /// /// 是否操作 /// public int IsOperator { get; set; } /// /// 是否单证 /// public int IsVouchingClerk { get; set; } /// /// 是否销售 /// public int IsSale { get; set; } /// /// 是否报关员 /// public int IsCustom { get; set; } /// /// 是否财务 /// public int IsFinancialStaff { get; set; } /// /// 是否客服 /// public int IsCustomerService { get; set; } /// /// 是否司机 /// public int IsDriver { get; set; } /// /// 是否派车调度人员 /// public int IsDispatcher { get; set; } /// /// 英文名称 /// public string UserEnName { get; set; } }