using System.ComponentModel.DataAnnotations; namespace Bit.Core.Models.Api.Public { public abstract class GroupBaseModel { /// /// The name of the group. /// /// Development Team [Required] [StringLength(100)] public string Name { get; set; } /// /// Determines if this group can access all collections within the organization, or only the associated /// collections. If set to true, this option overrides any collection assignments. /// [Required] public bool? AccessAll { get; set; } /// /// External identifier for reference or linking this group to another system, such as a user directory. /// /// external_id_123456 [StringLength(300)] public string ExternalId { get; set; } } }