mirror of
https://github.com/bitwarden/server.git
synced 2026-02-04 08:03:29 +08:00
19 lines
423 B
C#
19 lines
423 B
C#
|
|
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();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|