You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

130 lines
2.6 KiB
C#

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