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