feat: Add Lawn Care Tips section and improve Dashboard layout

This commit is contained in:
Blake Ridgway 2025-06-17 18:09:59 -05:00
parent 1f50fedb80
commit 985c944e16
17 changed files with 689 additions and 18 deletions

30
Models/LawnCareTip.cs Normal file
View file

@ -0,0 +1,30 @@
using System.ComponentModel.DataAnnotations;
namespace turf_tasker.Models;
public enum TipCategory
{
Mowing,
Watering,
Fertilizing,
[Display(Name = "Weed Control")]
WeedControl,
Aeration,
General
}
public class LawnCareTip
{
public int Id { get; set; }
[Required]
[StringLength(100)]
public string Title { get; set; } = string.Empty;
[Required]
public TipCategory Category { get; set; }
[Required]
[DataType(DataType.MultilineText)]
public string Content { get; set; } = string.Empty;
}