lixiaojun
2024-08-06 62f18f31a10fd5597b45151f688e5189eba888fd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using HStation.Dto;
 
namespace HStation.WinFrmUI.Organize
{
    public class EmployeeViewModel : EmployeeMainDto
    {
        public EmployeeViewModel()
        { }
 
        public EmployeeViewModel(EmployeeMainDto rhs)
        {
            this.ID = rhs.ID;
            this.ErpCode = rhs.ErpCode;//编号
            this.PositonName = rhs.PositonName;//职位名
            this.FirstName = rhs.FirstName;//姓名(英文就是第一个名)
            this.LastName = rhs.LastName;//姓名(英文名,才会用到)
            this.StaffStatus = rhs.StaffStatus;//在职状态 1 在职 0 离职
            this.Telephone = rhs.Telephone;//手机号
            this.DrawSignal = rhs.DrawSignal;//签名
            this.Email = rhs.Email;//电子邮箱
            this.AddTime = rhs.AddTime;//添加时间
            this.AddUser = rhs.AddUser;
            this.RequirePasswordReset = rhs.RequirePasswordReset;//登录时是否必须重置密码
            this.LastModifyUser = rhs.LastModifyUser;
            this.LastModifyTime = rhs.LastModifyTime;//最后修改时间
            this.Paras = rhs.Paras;
        }
    }
}