mirror of
https://github.com/bitwarden/server.git
synced 2025-04-15 18:18:12 -05:00
19 lines
362 B
C#
19 lines
362 B
C#
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>();
|
|
}
|
|
}
|
|
}
|