Refactored organisation entities and endpoints
This commit is contained in:
@@ -11,7 +11,7 @@ public static class Mappers
|
||||
CreatedAt = entity.CreatedAt,
|
||||
CreatedBy = entity.CreatedBy,
|
||||
Status = entity.Status,
|
||||
UserId = entity.UserId
|
||||
UserId = entity.UserId
|
||||
};
|
||||
|
||||
public static TenantOrganisation Map(this Entities.TenantOrganisation entity) => new()
|
||||
@@ -21,7 +21,7 @@ public static class Mappers
|
||||
CreatedAt = entity.CreatedAt,
|
||||
CreatedBy = entity.CreatedBy,
|
||||
OrganisationId = entity.OrganisationId,
|
||||
TenantId = entity.TenantId
|
||||
TenantId = entity.TenantId
|
||||
};
|
||||
|
||||
public static Tenant Map(this Entities.Tenant entity) => new()
|
||||
@@ -32,7 +32,7 @@ public static class Mappers
|
||||
CreatedBy = entity.CreatedBy,
|
||||
Status = entity.Status,
|
||||
UpdatedAt = entity.UpdatedAt,
|
||||
UpdatedBy = entity.UpdatedBy
|
||||
UpdatedBy = entity.UpdatedBy
|
||||
};
|
||||
|
||||
public static Activity Map(this Entities.Activity entity) => new()
|
||||
@@ -270,7 +270,8 @@ public static class Mappers
|
||||
Name = entity.Name,
|
||||
RegistrationNo = entity.RegistrationNo,
|
||||
Status = entity.Status,
|
||||
Type = entity.Type
|
||||
Type = entity.Type,
|
||||
UserId = entity.UserId
|
||||
};
|
||||
|
||||
public static Outcome Map(this Entities.Outcome entity) => new()
|
||||
@@ -392,6 +393,7 @@ public static class Mappers
|
||||
Email = entity.Email,
|
||||
LastLoginAt = entity.LastLoginAt,
|
||||
Status = entity.Status,
|
||||
Role = entity.Role
|
||||
Role = entity.Role,
|
||||
IdNumber = entity.IdNumber
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user