using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace API.Controllers.DTOs; /// /// /// public record Identifiable(string Key) { /// /// Unique Identifier of the DTO /// [Required] [Description("Unique Identifier of the DTO")] [StringLength(TokenGen.MaximumLength, MinimumLength = TokenGen.MinimumLength)] public string Key { get; init; } = Key; }