// 
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using turf_tasker.Data;
#nullable disable
namespace turf_tasker.Migrations
{
    [DbContext(typeof(ApplicationDbContext))]
    [Migration("20250621212709_AddEventDetails")]
    partial class AddEventDetails
    {
        /// 
        protected override void BuildTargetModel(ModelBuilder modelBuilder)
        {
#pragma warning disable 612, 618
            modelBuilder.HasAnnotation("ProductVersion", "9.0.6");
            modelBuilder.Entity("turf_tasker.Models.LawnCareEvent", b =>
                {
                    b.Property("Id")
                        .ValueGeneratedOnAdd()
                        .HasColumnType("INTEGER");
                    b.Property("AppliedAmount")
                        .HasColumnType("TEXT");
                    b.Property("EventDate")
                        .HasColumnType("TEXT");
                    b.Property("EventType")
                        .HasColumnType("INTEGER");
                    b.Property("MowerHeightInches")
                        .HasColumnType("TEXT");
                    b.Property("MowingPattern")
                        .HasColumnType("INTEGER");
                    b.Property("Notes")
                        .HasMaxLength(500)
                        .HasColumnType("TEXT");
                    b.Property("ProblemObserved")
                        .HasMaxLength(250)
                        .HasColumnType("TEXT");
                    b.Property("ProductUsed")
                        .HasMaxLength(200)
                        .HasColumnType("TEXT");
                    b.HasKey("Id");
                    b.ToTable("LawnCareEvents");
                });
            modelBuilder.Entity("turf_tasker.Models.LawnCareTip", b =>
                {
                    b.Property("Id")
                        .ValueGeneratedOnAdd()
                        .HasColumnType("INTEGER");
                    b.Property("Category")
                        .HasColumnType("INTEGER");
                    b.Property("Content")
                        .IsRequired()
                        .HasColumnType("TEXT");
                    b.Property("Title")
                        .IsRequired()
                        .HasMaxLength(100)
                        .HasColumnType("TEXT");
                    b.HasKey("Id");
                    b.ToTable("LawnCareTips");
                });
#pragma warning restore 612, 618
        }
    }
}