mirror of
https://github.com/bitwarden/server.git
synced 2026-02-03 23:53:19 +08: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();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|