1
0
mirror of https://github.com/bitwarden/server synced 2026-01-12 05:24:15 +00:00
Files
server/src/Core/Models/EntityFramework/CollectionCipher.cs
2021-12-16 15:35:09 +01:00

21 lines
524 B
C#

using System.Collections.Generic;
using System.Text.Json;
using AutoMapper;
namespace Bit.Core.Models.EntityFramework
{
public class CollectionCipher : Table.CollectionCipher
{
public virtual Cipher Cipher { get; set; }
public virtual Collection Collection { get; set; }
}
public class CollectionCipherMapperProfile : Profile
{
public CollectionCipherMapperProfile()
{
CreateMap<Table.CollectionCipher, CollectionCipher>().ReverseMap();
}
}
}