using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
using WIDESEA_Core.Attributes;
|
|
namespace WIDESEA_DTO.Basic
|
{
|
/// <summary>
|
/// 二期ERP员工接收实体
|
/// </summary>
|
[ModelValidate]
|
public class ERPUserInfoDTO
|
{
|
/// <summary>
|
/// 操作类型
|
/// </summary>
|
[PropertyValidate("操作类型", NotNullAndEmpty = true, Check = new object[] { 1, 2, 3 })]
|
public int OperateType { get; set; }
|
|
/// <summary>
|
/// 员工工号
|
/// </summary>
|
[PropertyValidate("员工工号", NotNullAndEmpty = true)]
|
public string StaffCode { get; set; }
|
|
/// <summary>
|
/// 员工姓名
|
/// </summary>
|
[PropertyValidate("员工姓名", NotNullAndEmpty = true)]
|
public string StaffName { get; set; }
|
|
/// <summary>
|
/// 员工电话
|
/// </summary>
|
[PropertyValidate("员工电话", NotNullAndEmpty = true)]
|
public string PhoneNumber { get; set; }
|
|
/// <summary>
|
/// 状态
|
/// </summary>
|
[PropertyValidate("状态", NotNullAndEmpty = true)]
|
public int State { get; set; }
|
}
|
}
|