Files
server/src/Core/Models/EntityFramework/User.cs

19 lines
362 B
C#
Raw Normal View History

2020-01-08 20:28:16 -05:00
using System.Collections.Generic;
using AutoMapper;
namespace Bit.Core.Models.EntityFramework
{
public class User : Table.User
{
public ICollection<Cipher> Ciphers { get; set; }
}
public class UserMapperProfile : Profile
{
public UserMapperProfile()
{
CreateMap<Table.User, User>();
}
}
}