mirror of
https://github.com/bitwarden/server.git
synced 2025-07-01 08:02:49 -05:00
21 lines
470 B
C#
21 lines
470 B
C#
using System.Collections.Generic;
|
|
using System.Text.Json;
|
|
using AutoMapper;
|
|
|
|
namespace Bit.Core.Models.EntityFramework
|
|
{
|
|
public class SsoUser : Table.SsoUser
|
|
{
|
|
public virtual Organization Organization { get; set; }
|
|
public virtual User User { get; set; }
|
|
}
|
|
|
|
public class SsoUserMapperProfile : Profile
|
|
{
|
|
public SsoUserMapperProfile()
|
|
{
|
|
CreateMap<Table.SsoUser, SsoUser>().ReverseMap();
|
|
}
|
|
}
|
|
}
|