1
0
mirror of https://github.com/bitwarden/mobile synced 2026-01-12 13:34:04 +00:00
Files
mobile/src/Core/Models/Domain/Policy.cs
2022-04-26 17:21:17 +02:00

27 lines
663 B
C#

using System.Collections.Generic;
using Bit.Core.Enums;
using Bit.Core.Models.Data;
namespace Bit.Core.Models.Domain
{
public class Policy : Domain
{
public Policy() { }
public Policy(PolicyData obj)
{
Id = obj.Id;
OrganizationId = obj.OrganizationId;
Type = obj.Type;
Data = obj.Data;
Enabled = obj.Enabled;
}
public string Id { get; set; }
public string OrganizationId { get; set; }
public PolicyType Type { get; set; }
public Dictionary<string, object> Data { get; set; }
public bool Enabled { get; set; }
}
}