1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-02 00:22:50 -05:00
This commit is contained in:
Kyle Spearrin
2020-01-08 21:34:49 -05:00
parent 46c258428e
commit 9fa7f335bd
7 changed files with 115 additions and 4 deletions

View File

@ -0,0 +1,18 @@
using System.Collections.Generic;
using AutoMapper;
namespace Bit.Core.Models.EntityFramework
{
public class Organization : Table.Organization
{
public ICollection<Cipher> Ciphers { get; set; }
}
public class OrganizationMapperProfile : Profile
{
public OrganizationMapperProfile()
{
CreateMap<Table.Organization, Organization>().ReverseMap();
}
}
}