Generalised lead entries

This commit is contained in:
Khwezi Mngoma
2026-05-05 14:06:38 +02:00
parent 33112dcf79
commit f5c9557f59
10 changed files with 457 additions and 15 deletions
+25
View File
@@ -0,0 +1,25 @@
namespace LiteCharms.Models;
public sealed class EmailEnquiry
{
[Required]
[MinLength(2)]
[MaxLength(255)]
public string? FullName { get; set; }
[Required]
[EmailAddress]
[MinLength(20)]
[MaxLength(255)]
public string? EmailAddress { get; set; }
[Required]
[MinLength(2)]
[MaxLength(255)]
public string? EmailSubject { get; set; }
[Required]
[MinLength(2)]
[MaxLength(2000)]
public string? Message { get; set; }
}