using System.ComponentModel.DataAnnotations; namespace EnvelopeGenerator.GeneratorAPI.Models; /// /// Repräsentiert ein Login-Modell mit erforderlichem Passwort und optionaler ID und Benutzername. /// /// Das erforderliche Passwort für das Login. /// Die optionale ID des Benutzers. /// Der optionale Benutzername. public record Login([Required] string Password, int? Id = null, string? Username = null) { }