using System.ComponentModel.DataAnnotations;
namespace Bit.Api.AdminConsole.Public.Models;
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. If your organization is using
/// the latest collection enhancements, you will not be allowed to set this property to true.
///
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; }
}