[PM-1188] Move EF auth models for code ownership (#2859)

* [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
This commit is contained in:
Jake Fink
2023-04-18 08:45:02 -04:00
committed by GitHub
parent 4e7b9d2edd
commit 4f2fb2ccf5
16 changed files with 20 additions and 12 deletions

View File

@@ -0,0 +1,17 @@
using AutoMapper;
using Bit.Infrastructure.EntityFramework.Models;
namespace Bit.Infrastructure.EntityFramework.Auth.Models;
public class SsoConfig : Core.Auth.Entities.SsoConfig
{
public virtual Organization Organization { get; set; }
}
public class SsoConfigMapperProfile : Profile
{
public SsoConfigMapperProfile()
{
CreateMap<Core.Auth.Entities.SsoConfig, SsoConfig>().ReverseMap();
}
}