mirror of
https://github.com/bitwarden/server.git
synced 2026-02-01 22:53:12 +08: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();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|