mirror of
https://github.com/bitwarden/server.git
synced 2026-02-02 15:13:19 +08:00
* this updates namespace and content for IPolicyData.cs and Entityframework Policy.cs as a separate commit to maintain git history.
18 lines
427 B
C#
18 lines
427 B
C#
using AutoMapper;
|
|
using Bit.Infrastructure.EntityFramework.Models;
|
|
|
|
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();
|
|
}
|
|
}
|