Added the HasApplicationAccess in Employee VM
This commit is contained in:
parent
cd175c4fdf
commit
27a2610388
@ -36,7 +36,9 @@ namespace Marco.Pms.Model.Mapper
|
|||||||
IsRootUser = model.ApplicationUser?.IsRootUser ?? false,
|
IsRootUser = model.ApplicationUser?.IsRootUser ?? false,
|
||||||
IsSystem = model.IsSystem,
|
IsSystem = model.IsSystem,
|
||||||
JoiningDate = model.JoiningDate,
|
JoiningDate = model.JoiningDate,
|
||||||
TenantId = model.TenantId ?? Guid.Empty
|
TenantId = model.TenantId ?? Guid.Empty,
|
||||||
|
HasApplicationAccess = model.HasApplicationAccess,
|
||||||
|
OrganizationId = model.OrganizationId
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
public static BasicEmployeeVM ToBasicEmployeeVMFromEmployee(this Employee employee)
|
public static BasicEmployeeVM ToBasicEmployeeVMFromEmployee(this Employee employee)
|
||||||
|
@ -25,6 +25,8 @@
|
|||||||
public Guid TenantId { get; set; }
|
public Guid TenantId { get; set; }
|
||||||
public bool IsSystem { get; set; }
|
public bool IsSystem { get; set; }
|
||||||
public string? JobRole { get; set; }
|
public string? JobRole { get; set; }
|
||||||
|
public bool HasApplicationAccess { get; set; }
|
||||||
|
public Guid OrganizationId { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user