namespace Bitvault; public record ItemConfiguration { public string Name { get; set; } = ""; public IList? Sections { get; set; } public static ItemConfiguration Identity => new() { Name = "Identity", Sections = new List { } }; public static ItemConfiguration BankAccount => new() { Name = "Bank Account", Sections = new List { } }; public static ItemConfiguration Note => new() { Name = "Note", Sections = new List { } }; public static ItemConfiguration Document => new() { Name = "Document", Sections = new List { } }; public static ItemConfiguration DrivingLicence => new() { Name = "Driving Licence", Sections = new List { } }; public static ItemConfiguration Login => new() { Name = "Login", Sections = new List { } }; public static ItemConfiguration Password => new() { Name = "Password", Sections = new List { } }; public static ItemConfiguration CreditCard => new() { Name = "Credit Card", Sections = new List { new() { Entries = new List { new TextEntryConfiguration { Label = "Cardholder name" }, new DropdownEntryConfiguration { Label = "Type", }, new MaskedTextEntryConfiguration { Label = "Card number" }, new MaskedTextEntryConfiguration { Label = "Expiry date" }, new MaskedTextEntryConfiguration { Label = "Card verification code" }, } } } }; }