| | |
| | | public EmployeeViewModel() |
| | | { } |
| | | |
| | | public EmployeeViewModel(EmployeeMainDto rhs) |
| | | public EmployeeViewModel(EmployeeMainDto rhs) |
| | | { |
| | | this.ID = rhs.ID; |
| | | this.ErpCode = rhs.ErpCode;//编号 |
| | |
| | | this.LastModifyUser = rhs.LastModifyUser; |
| | | this.LastModifyTime = rhs.LastModifyTime;//最后修改时间 |
| | | this.Paras = rhs.Paras; |
| | | this.StaffStatusLabel = this.StaffStatus == 0 ? "离职" : "在职"; |
| | | this.RequirePasswordResetLabel = this.RequirePasswordReset == 0 ? "否" : "是"; |
| | | |
| | | |
| | | /// <summary> |
| | | /// 0 男 1女 |
| | | /// </summary> |
| | | |
| | | } |
| | | public string StaffStatusLabel { get; set; } |
| | | public string RequirePasswordResetLabel { get; set; } |
| | | |
| | | } |
| | | } |