using System.ComponentModel.DataAnnotations; namespace Bit.Api.Models.Public; 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; } }