mirror of
https://github.com/bitwarden/server.git
synced 2025-04-08 06:28:14 -05:00
18 lines
497 B
C#
18 lines
497 B
C#
using AutoMapper;
|
|
using Bit.Infrastructure.EntityFramework.AdminConsole.Models;
|
|
|
|
namespace Bit.Infrastructure.EntityFramework.Models;
|
|
|
|
public class OrganizationConnection : Core.Entities.OrganizationConnection
|
|
{
|
|
public virtual Organization Organization { get; set; }
|
|
}
|
|
|
|
public class OrganizationConnectionMapperProfile : Profile
|
|
{
|
|
public OrganizationConnectionMapperProfile()
|
|
{
|
|
CreateMap<Core.Entities.OrganizationConnection, OrganizationConnection>().ReverseMap();
|
|
}
|
|
}
|