SHA256
GuestLog - GuestDocument pages initial implementation
This commit is contained in:
@@ -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}";
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user