mirror of
https://github.com/bitwarden/server.git
synced 2025-04-17 19:18:16 -05:00
17 lines
323 B
C#
17 lines
323 B
C#
using AutoMapper;
|
|
|
|
namespace Bit.Infrastructure.EntityFramework.Models;
|
|
|
|
public class Device : Core.Entities.Device
|
|
{
|
|
public virtual User User { get; set; }
|
|
}
|
|
|
|
public class DeviceMapperProfile : Profile
|
|
{
|
|
public DeviceMapperProfile()
|
|
{
|
|
CreateMap<Core.Entities.Device, Device>().ReverseMap();
|
|
}
|
|
}
|