using System.ComponentModel.DataAnnotations; namespace Bit.Api.AdminConsole.Public.Models; public abstract class AssociationWithPermissionsBaseModel { /// /// The associated object's unique identifier. /// /// bfbc8338-e329-4dc0-b0c9-317c2ebf1a09 [Required] public Guid? Id { get; set; } /// /// When true, the read only permission will not allow the user or group to make changes to items. /// [Required] public bool? ReadOnly { get; set; } /// /// When true, the hide passwords permission will not allow the user or group to view passwords. /// This prevents easy copy-and-paste of hidden items, however it may not completely prevent user access. /// public bool? HidePasswords { get; set; } }