//
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Safeguard.EntityFramework;
#nullable disable
namespace Safeguard.Migrations
{
[DbContext(typeof(Context))]
partial class ContextModelSnapshot : ModelSnapshot
{
protected override void BuildModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder.HasAnnotation("ProductVersion", "7.0.0");
modelBuilder.Entity("Safeguard.Models.HostMqttInfo", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT");
b.Property("IPAddress")
.HasColumnType("TEXT");
b.Property("Port")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.ToTable("HostMqttInfos");
});
modelBuilder.Entity("Safeguard.Models.MCConfig", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT");
b.Property("JsonString")
.HasColumnType("TEXT");
b.Property("Name")
.HasColumnType("TEXT");
b.HasKey("Id");
b.ToTable("MCConfigs");
});
#pragma warning restore 612, 618
}
}
}