1
0
mirror of https://github.com/bitwarden/server synced 2025-12-14 07:13:39 +00:00

Stub out EF repo base with user repo

This commit is contained in:
Kyle Spearrin
2020-01-08 20:28:16 -05:00
parent 9caaab0537
commit 7c5be176fa
9 changed files with 243 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
using AutoMapper;
namespace Bit.Core.Models.EntityFramework
{
public class Cipher : Table.Cipher
{
public User User { get; set; }
}
public class CipherMapperProfile : Profile
{
public CipherMapperProfile()
{
CreateMap<Table.Cipher, Cipher>();
}
}
}