// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using SmartAquaViewer.DataAnalisys;

#nullable disable

namespace SmartAquaViewer.Migrations
{
    [DbContext(typeof(AppDbContext))]
    [Migration("20250811050443_InitialCreate")]
    partial class InitialCreate
    {
        /// <inheritdoc />
        protected override void BuildTargetModel(ModelBuilder modelBuilder)
        {
#pragma warning disable 612, 618
            modelBuilder
                .HasAnnotation("ProductVersion", "8.0.1")
                .HasAnnotation("Relational:MaxIdentifierLength", 64);

            modelBuilder.Entity("SmartAquaViewer.DataAnalisys.WaterQualityVO", b =>
                {
                    b.Property<int>("Id")
                        .ValueGeneratedOnAdd()
                        .HasColumnType("int");

                    b.Property<double>("DO")
                        .HasColumnType("double");

                    b.Property<double>("ElectricalConductivity")
                        .HasColumnType("double");

                    b.Property<double>("FlowRate")
                        .HasColumnType("double");

                    b.Property<double>("ORP")
                        .HasColumnType("double");

                    b.Property<double>("PH")
                        .HasColumnType("double");

                    b.Property<double>("Salinity")
                        .HasColumnType("double");

                    b.Property<double>("TSS")
                        .HasColumnType("double");

                    b.Property<double>("Temperature")
                        .HasColumnType("double");

                    b.Property<DateTime>("Timestamp")
                        .HasColumnType("datetime(6)");

                    b.Property<double>("TotalNitrogen")
                        .HasColumnType("double");

                    b.Property<double>("TotalPhosphorus")
                        .HasColumnType("double");

                    b.Property<double>("Turbidity")
                        .HasColumnType("double");

                    b.Property<double>("WaterLevel")
                        .HasColumnType("double");

                    b.Property<int>("WaterTankNum")
                        .HasColumnType("int");

                    b.HasKey("Id");

                    b.ToTable("WaterQuality");
                });
#pragma warning restore 612, 618
        }
    }
}
