mirror of
https://github.com/bitwarden/server
synced 2026-02-19 02:43:38 +00:00
24 lines
543 B
C#
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
|
|
};
|
|
}
|
|
}
|