mirror of
https://github.com/bitwarden/server.git
synced 2026-02-01 14:43:10 +08:00
* Added migration script to alter ProviderOrganizationOrganizationDetailsView to add new columns UserCount, Seats and Plan * Modified EF query ProviderOrganizationOrganizationDetailsReadByProviderIdQuery * Modified model to output new view columns * Updated view to count only active users * Filtering the organization user count by only confirmed users
18 lines
602 B
C#
18 lines
602 B
C#
namespace Bit.Core.Models.Data
|
|
{
|
|
public class ProviderOrganizationOrganizationDetails
|
|
{
|
|
public Guid Id { get; set; }
|
|
public Guid ProviderId { get; set; }
|
|
public Guid OrganizationId { get; set; }
|
|
public string OrganizationName { get; set; }
|
|
public string Key { get; set; }
|
|
public string Settings { get; set; }
|
|
public DateTime CreationDate { get; set; }
|
|
public DateTime RevisionDate { get; set; }
|
|
public int UserCount { get; set; }
|
|
public int? Seats { get; set; }
|
|
public string Plan { get; set; }
|
|
}
|
|
}
|