mirror of
https://github.com/bitwarden/server
synced 2026-02-18 10:23:27 +00:00
47 lines
1.0 KiB
C#
47 lines
1.0 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 SeedPresetCiphers? Ciphers { 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; } = 10;
|
|
}
|
|
|
|
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; }
|
|
}
|