mirror of
https://github.com/bitwarden/server.git
synced 2026-01-31 14:13:18 +08:00
* [PM-1188] move ef auth files to auth folder * [PM-1188] rename ef models namespace * [PM-1188] fix auth ef model imports * [PM-1188] fix ef model usings
19 lines
452 B
C#
19 lines
452 B
C#
using AutoMapper;
|
|
using Bit.Infrastructure.EntityFramework.Models;
|
|
|
|
namespace Bit.Infrastructure.EntityFramework.Auth.Models;
|
|
|
|
public class SsoUser : Core.Auth.Entities.SsoUser
|
|
{
|
|
public virtual Organization Organization { get; set; }
|
|
public virtual User User { get; set; }
|
|
}
|
|
|
|
public class SsoUserMapperProfile : Profile
|
|
{
|
|
public SsoUserMapperProfile()
|
|
{
|
|
CreateMap<Core.Auth.Entities.SsoUser, SsoUser>().ReverseMap();
|
|
}
|
|
}
|