Napol
This commit is contained in:
@@ -393,10 +393,6 @@ namespace EveryThing.Migrations
|
||||
b.Property<int>("IdCompanyFk")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<string>("Type")
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.HasKey("IdPrePostText");
|
||||
|
||||
b.HasIndex("IdCompanyFk");
|
||||
@@ -404,6 +400,28 @@ namespace EveryThing.Migrations
|
||||
b.ToTable("CodeTablePrePostText");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("EveryThing.Models.CodeTable.CodeTablePrePostTextLink", b =>
|
||||
{
|
||||
b.Property<int>("IdPrePostTextLink")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<int>("IdPrePostTextFk")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<int>("Link")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<int>("Type")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.HasKey("IdPrePostTextLink");
|
||||
|
||||
b.HasIndex("IdPrePostTextFk");
|
||||
|
||||
b.ToTable("CodeTablePrePostTextLink");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("EveryThing.Models.Document", b =>
|
||||
{
|
||||
b.Property<int>("IdDocument")
|
||||
@@ -1582,6 +1600,17 @@ namespace EveryThing.Migrations
|
||||
b.Navigation("Company");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("EveryThing.Models.CodeTable.CodeTablePrePostTextLink", b =>
|
||||
{
|
||||
b.HasOne("EveryThing.Models.CodeTable.CodeTablePrePostText", "CodeTablePrePostText")
|
||||
.WithMany("CodeTablePrePostTextLinks")
|
||||
.HasForeignKey("IdPrePostTextFk")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("CodeTablePrePostText");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("EveryThing.Models.Document", b =>
|
||||
{
|
||||
b.HasOne("EveryThing.Models.DocumentType", "DocumentType")
|
||||
@@ -2124,6 +2153,11 @@ namespace EveryThing.Migrations
|
||||
b.Navigation("PartnerTransportLoadingOrderUnload");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("EveryThing.Models.CodeTable.CodeTablePrePostText", b =>
|
||||
{
|
||||
b.Navigation("CodeTablePrePostTextLinks");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("EveryThing.Models.DocumentType", b =>
|
||||
{
|
||||
b.Navigation("DocumentTypeDocument");
|
||||
|
||||
Reference in New Issue
Block a user