mirror of
https://github.com/bitwarden/server.git
synced 2025-05-29 07:14:50 -05:00
16 lines
491 B
C#
16 lines
491 B
C#
using Bit.Admin.Models;
|
|
using Bit.Core.AdminConsole.Entities;
|
|
|
|
namespace Bit.Admin.AdminConsole.Models;
|
|
|
|
public class OrganizationsModel : PagedModel<Organization>
|
|
{
|
|
public string Name { get; set; }
|
|
public string UserEmail { get; set; }
|
|
public bool? Paid { get; set; }
|
|
public string Action { get; set; }
|
|
public bool SelfHosted { get; set; }
|
|
|
|
public double StorageGB(Organization org) => org.Storage.HasValue ? Math.Round(org.Storage.Value / 1073741824D, 2) : 0;
|
|
}
|