mirror of
https://github.com/bitwarden/server
synced 2025-12-25 20:53:16 +00:00
20 lines
471 B
C#
20 lines
471 B
C#
// FIXME: Update this file to be null safe and then delete the line below
|
|
#nullable disable
|
|
|
|
using AutoMapper;
|
|
|
|
namespace Bit.Infrastructure.EntityFramework.AdminConsole.Models;
|
|
|
|
public class Policy : Core.AdminConsole.Entities.Policy
|
|
{
|
|
public virtual Organization Organization { get; set; }
|
|
}
|
|
|
|
public class PolicyMapperProfile : Profile
|
|
{
|
|
public PolicyMapperProfile()
|
|
{
|
|
CreateMap<Core.AdminConsole.Entities.Policy, Policy>().ReverseMap();
|
|
}
|
|
}
|