mirror of
https://github.com/bitwarden/server.git
synced 2026-02-06 17:13:10 +08: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>();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|