1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-07 05:58:13 -05:00
2022-08-29 16:06:55 -04:00

18 lines
450 B
C#

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