GuestLog - GuestDocument pages initial implementation

This commit is contained in:
2026-06-21 17:10:27 +02:00
parent 86fadf97b4
commit 76b2695c02
24 changed files with 832 additions and 54 deletions
+27
View File
@@ -3,4 +3,31 @@ namespace Somnia.GuestLog;
public static class GuestConsts
{
public const string Page_GuestDocs_List = "/guest-documents";
public const string Page_GuestDocs_New = "/guest-documents/new";
public static HashSet<string> DocumentTypeList { get; private set; } = [
"DNI",
"NIE",
"Passport",
"ID Card",
"Other",
];
public static Dictionary<string, string> CountryList { get; private set; } = new([
new KeyValuePair<string, string>("ESP", "Spain"),
new KeyValuePair<string, string>("ITA", "Italy"),
new KeyValuePair<string, string>("USA", "United States")
]);
public static Dictionary<string, string> GenderList { get; private set; } = new([
new KeyValuePair<string, string>("M", "Male"),
new KeyValuePair<string, string>("F", "Female"),
new KeyValuePair<string, string>("O", "Other")
]);
public const string regexPattern_phoneNum = @"\+?\d{1,4}?[-.\s]?\(?\d{1,3}?\)?[-.\s]?\d{1,4}[-.\s]?\d{1,4}[-.\s]?\d{1,9}";
}