1
0
mirror of https://github.com/bitwarden/server synced 2025-12-17 00:33:23 +00:00
Files
server/src/Infrastructure.EntityFramework/Models/CollectionGroup.cs
Justin Baur bae03feffe Revert filescoped (#2227)
* Revert "Add git blame entry (#2226)"

This reverts commit 239286737d.

* Revert "Turn on file scoped namespaces (#2225)"

This reverts commit 34fb4cca2a.
2022-08-29 15:53:48 -04:00

19 lines
484 B
C#

using AutoMapper;
namespace Bit.Infrastructure.EntityFramework.Models
{
public class CollectionGroup : Core.Entities.CollectionGroup
{
public virtual Collection Collection { get; set; }
public virtual Group Group { get; set; }
}
public class CollectionGroupMapperProfile : Profile
{
public CollectionGroupMapperProfile()
{
CreateMap<Core.Entities.CollectionGroup, CollectionGroup>().ReverseMap();
}
}
}