mirror of
https://github.com/bitwarden/server.git
synced 2025-04-18 19:48:12 -05:00
19 lines
463 B
C#
19 lines
463 B
C#
using AutoMapper;
|
|
|
|
namespace Bit.Infrastructure.EntityFramework.Models;
|
|
|
|
public class Cipher : Core.Entities.Cipher
|
|
{
|
|
public virtual User User { get; set; }
|
|
public virtual Organization Organization { get; set; }
|
|
public virtual ICollection<CollectionCipher> CollectionCiphers { get; set; }
|
|
}
|
|
|
|
public class CipherMapperProfile : Profile
|
|
{
|
|
public CipherMapperProfile()
|
|
{
|
|
CreateMap<Core.Entities.Cipher, Cipher>().ReverseMap();
|
|
}
|
|
}
|