Files
server/src/Infrastructure.EntityFramework/Models/Cipher.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
463 B
C#
Raw Normal View History

using AutoMapper;
2020-01-08 20:28:16 -05:00
2022-08-29 14:53:16 -04:00
namespace Bit.Infrastructure.EntityFramework.Models;
public class Cipher : Core.Entities.Cipher
2020-01-08 20:28:16 -05:00
{
2022-08-29 14:53:16 -04:00
public virtual User User { get; set; }
public virtual Organization Organization { get; set; }
public virtual ICollection<CollectionCipher> CollectionCiphers { get; set; }
}
2020-01-08 20:28:16 -05:00
2022-08-29 14:53:16 -04:00
public class CipherMapperProfile : Profile
{
public CipherMapperProfile()
2020-01-08 20:28:16 -05:00
{
2022-08-29 14:53:16 -04:00
CreateMap<Core.Entities.Cipher, Cipher>().ReverseMap();
2020-01-08 20:28:16 -05:00
}
}