1
0
mirror of https://github.com/bitwarden/server synced 2026-02-19 10:53:34 +00:00
Files
server/util/Seeder/Factories/CollectionGroupSeeder.cs
2026-02-17 07:42:53 +01:00

24 lines
543 B
C#

using Bit.Core.Entities;
namespace Bit.Seeder.Factories;
internal static class CollectionGroupSeeder
{
internal static CollectionGroup Create(
Guid collectionId,
Guid groupId,
bool readOnly = false,
bool hidePasswords = false,
bool manage = false)
{
return new CollectionGroup
{
CollectionId = collectionId,
GroupId = groupId,
ReadOnly = readOnly,
HidePasswords = hidePasswords,
Manage = manage
};
}
}