Files
server/src/Core/Models/EntityFramework/Organization.cs

19 lines
423 B
C#
Raw Normal View History

2020-01-08 21:34:49 -05:00
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();
}
}
}