mirror of
https://github.com/bitwarden/server.git
synced 2025-07-01 08:02:49 -05:00
18 lines
448 B
C#
18 lines
448 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Bit.Api.Models.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; }
|
|
}
|
|
}
|