feat: added new event details

This commit is contained in:
Blake Ridgway 2025-06-21 16:30:12 -05:00
parent 9ecaf8350b
commit 5c81fb70fd
4 changed files with 180 additions and 0 deletions

View file

@ -9,6 +9,10 @@ public enum LawnCareEventType
Fertilizing,
Aeration,
WeedControl,
PestControl,
DiseaseControl,
Topdressing,
Overseeding,
Other
}
@ -39,6 +43,22 @@ public class LawnCareEvent
[Display(Name = "Mowing Pattern")]
public MowingPattern? MowingPattern { get; set; }
[Display(Name = "Product Used")]
[StringLength(200)]
public string? ProductUsed { get; set; }
[Display(Name = "Applied Amount")]
[Range(0.01, 1000.0, ErrorMessage = "Amount must be positive.")] // Example range
public decimal? AppliedAmount { get; set; }
[Display(Name = "Mower Height (inches)")]
[Range(0.5, 6.0, ErrorMessage = "Height must be between 0.5 and 6 inches.")]
public decimal? MowerHeightInches { get; set; }
[Display(Name = "Problem Observed")]
[StringLength(250)]
public string? ProblemObserved { get; set; }
[StringLength(500)]
public string? Notes { get; set; }