mirror of
https://github.com/bitwarden/server.git
synced 2025-04-06 21:48:12 -05:00
19 lines
487 B
C#
19 lines
487 B
C#
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Bit.Core.Models.Api.Public
|
|
{
|
|
public abstract class PolicyBaseModel
|
|
{
|
|
/// <summary>
|
|
/// Determines if this policy is enabled and enforced.
|
|
/// </summary>
|
|
[Required]
|
|
public bool? Enabled { get; set; }
|
|
/// <summary>
|
|
/// Data for the policy.
|
|
/// </summary>
|
|
public Dictionary<string, object> Data { get; set; }
|
|
}
|
|
}
|