mirror of
https://github.com/bitwarden/server.git
synced 2026-02-01 22:53:12 +08:00
17 lines
378 B
C#
17 lines
378 B
C#
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();
|
|
}
|
|
}
|