mirror of
https://github.com/bitwarden/server
synced 2025-12-26 21:23:39 +00:00
18 lines
450 B
C#
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();
|
|
}
|
|
}
|