mirror of
https://github.com/bitwarden/server
synced 2025-12-14 15:23:42 +00:00
24 lines
677 B
C#
24 lines
677 B
C#
// FIXME: Update this file to be null safe and then delete the line below
|
|
#nullable disable
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Bit.Api.AdminConsole.Public.Models;
|
|
|
|
public abstract class GroupBaseModel
|
|
{
|
|
/// <summary>
|
|
/// The name of the group.
|
|
/// </summary>
|
|
/// <example>Development Team</example>
|
|
[Required]
|
|
[StringLength(100)]
|
|
public string Name { get; set; }
|
|
/// <summary>
|
|
/// External identifier for reference or linking this group to another system, such as a user directory.
|
|
/// </summary>
|
|
/// <example>external_id_123456</example>
|
|
[StringLength(300)]
|
|
public string ExternalId { get; set; }
|
|
}
|