//
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Shared.Infrastructure.Database;
#nullable disable
namespace Shared.Infrastructure.Migrations
{
[DbContext(typeof(MyDbContext))]
partial class MyDbContextModelSnapshot : ModelSnapshot
{
protected override void BuildModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "9.0.0")
.HasAnnotation("Relational:MaxIdentifierLength", 64);
MySqlModelBuilderExtensions.AutoIncrementColumns(modelBuilder);
modelBuilder.Entity("UserModule.Core.Entities.User", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("char(36)");
b.Property("Date")
.HasColumnType("datetime(6)");
b.Property("Email")
.HasColumnType("longtext");
b.Property("Modified")
.HasColumnType("datetime(6)");
b.Property("Name")
.HasColumnType("longtext");
b.Property("Picture")
.HasColumnType("longtext");
b.Property("Role")
.HasColumnType("int");
b.Property("Status")
.HasColumnType("int");
b.HasKey("Id");
b.ToTable("User");
b.HasData(
new
{
Id = new Guid("11111111-1111-1111-1111-111111111111"),
Date = new DateTime(2026, 2, 10, 21, 56, 10, 153, DateTimeKind.Local).AddTicks(5286),
Email = "",
Modified = new DateTime(2026, 2, 10, 21, 56, 10, 153, DateTimeKind.Local).AddTicks(5300),
Name = "Test",
Role = 1,
Status = 1
},
new
{
Id = new Guid("22222222-2222-2222-2222-222222222222"),
Date = new DateTime(2026, 2, 10, 21, 56, 10, 153, DateTimeKind.Local).AddTicks(6780),
Email = "truongdxfx08031@funix.edu.vn",
Modified = new DateTime(2026, 2, 10, 21, 56, 10, 153, DateTimeKind.Local).AddTicks(6782),
Name = "Truong Dang",
Role = 0,
Status = 1
},
new
{
Id = new Guid("33333333-3333-3333-3333-333333333333"),
Date = new DateTime(2026, 2, 10, 21, 56, 10, 153, DateTimeKind.Local).AddTicks(6788),
Email = "truonghusk17aws1@gmail.com",
Modified = new DateTime(2026, 2, 10, 21, 56, 10, 153, DateTimeKind.Local).AddTicks(6789),
Name = "Thai Son",
Role = 0,
Status = 1
});
});
modelBuilder.Entity("__MODULE__Module.Core.Entities.__MODULE__", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("char(36)");
b.Property("Date")
.HasColumnType("datetime(6)");
b.Property("Modified")
.HasColumnType("datetime(6)");
b.Property("Status")
.HasColumnType("int");
b.HasKey("Id");
b.ToTable("__MODULE__");
b.HasData(
new
{
Id = new Guid("11111111-1111-1111-1111-111111111111"),
Date = new DateTime(2026, 2, 10, 21, 56, 10, 155, DateTimeKind.Local).AddTicks(6644),
Modified = new DateTime(2026, 2, 10, 21, 56, 10, 155, DateTimeKind.Local).AddTicks(6652),
Status = 1
});
});
#pragma warning restore 612, 618
}
}
}