1
0
mirror of https://github.com/bitwarden/server synced 2026-02-21 03:43:44 +00:00
Files
server/util/Seeder/Models/SeedPreset.cs
Mick Letofsky 10044397c1 Implement plan types, personal ciphers and fix folder assignment (#7030)
* Implement plan types, personal ciphers and fix folder assignment
2026-02-19 15:47:37 +01:00

56 lines
1.3 KiB
C#

namespace Bit.Seeder.Models;
internal record SeedPreset
{
public SeedPresetOrganization? Organization { get; init; }
public SeedPresetRoster? Roster { get; init; }
public SeedPresetUsers? Users { get; init; }
public SeedPresetGroups? Groups { get; init; }
public SeedPresetCollections? Collections { get; init; }
public bool? Folders { get; init; }
public SeedPresetCiphers? Ciphers { get; init; }
public SeedPresetPersonalCiphers? PersonalCiphers { get; init; }
}
internal record SeedPresetOrganization
{
public string? Fixture { get; init; }
public string? Name { get; init; }
public string? Domain { get; init; }
public int? Seats { get; init; }
public string? PlanType { get; init; }
}
internal record SeedPresetRoster
{
public string? Fixture { get; init; }
}
internal record SeedPresetUsers
{
public int Count { get; init; }
public bool RealisticStatusMix { get; init; }
}
internal record SeedPresetGroups
{
public int Count { get; init; }
}
internal record SeedPresetCollections
{
public int Count { get; init; }
}
internal record SeedPresetCiphers
{
public string? Fixture { get; init; }
public int Count { get; init; }
public bool AssignFolders { get; init; }
}
internal record SeedPresetPersonalCiphers
{
public int CountPerUser { get; init; }
}