mirror of
https://github.com/bitwarden/server
synced 2026-01-12 05:24:15 +00:00
21 lines
524 B
C#
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();
|
|
}
|
|
}
|
|
}
|