Files
server/src/Infrastructure.EntityFramework/Models/Cipher.cs
2022-08-29 14:53:16 -04:00

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();
}
}