//
using System;
using CMS.Plugin.PipeLineLems.MySQL;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Volo.Abp.EntityFrameworkCore;
#nullable disable
namespace CMS.Plugin.PipeLineLems.MySQL.Migrations
{
[DbContext(typeof(CMSPluginDbContext))]
partial class CMSPluginDbContextModelSnapshot : ModelSnapshot
{
protected override void BuildModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.MySql)
.HasAnnotation("ProductVersion", "6.0.16")
.HasAnnotation("Relational:MaxIdentifierLength", 64);
modelBuilder.Entity("CMS.Plugin.PipeLineLems.Domain.MyTestEntityNames.MyTestEntityName", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("char(36)");
b.Property("Code")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("varchar(64)")
.HasComment("编码");
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
.HasMaxLength(40)
.HasColumnType("varchar(40)")
.HasColumnName("ConcurrencyStamp");
b.Property("CreationTime")
.HasColumnType("datetime(6)")
.HasColumnName("CreationTime");
b.Property("CreatorId")
.HasColumnType("char(36)")
.HasColumnName("CreatorId");
b.Property("DeleterId")
.HasColumnType("char(36)")
.HasColumnName("DeleterId");
b.Property("DeletionTime")
.HasColumnType("datetime(6)")
.HasColumnName("DeletionTime");
b.Property("ExtraProperties")
.HasColumnType("longtext")
.HasColumnName("ExtraProperties");
b.Property("IsDeleted")
.ValueGeneratedOnAdd()
.HasColumnType("tinyint(1)")
.HasDefaultValue(false)
.HasColumnName("IsDeleted");
b.Property("IsDisabled")
.HasColumnType("tinyint(1)")
.HasComment("是否禁用");
b.Property("LastModificationTime")
.HasColumnType("datetime(6)")
.HasColumnName("LastModificationTime");
b.Property("LastModifierId")
.HasColumnType("char(36)")
.HasColumnName("LastModifierId");
b.Property("Name")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("varchar(64)")
.HasComment("名称");
b.Property("Remark")
.HasMaxLength(256)
.HasColumnType("varchar(256)")
.HasComment("备注");
b.Property("Sort")
.HasColumnType("int")
.HasComment("排序");
b.HasKey("Id");
b.HasIndex("Name");
b.ToTable("scms_mytestentitynames", (string)null);
b.HasComment("MyTestEntityName");
});
#pragma warning restore 612, 618
}
}
}