mailling template key

This commit is contained in:
Paul Schneider 2021-05-30 13:48:24 +01:00
commit acdec2b6f7
12 changed files with 3141 additions and 110 deletions

View file

@ -335,22 +335,17 @@ namespace Yavsc.Migrations
b.Property<long>("Id")
.ValueGeneratedOnAdd();
b.Property<string>("AccountNumber")
.HasAnnotation("MaxLength", 15);
b.Property<string>("AccountNumber");
b.Property<string>("BIC")
.HasAnnotation("MaxLength", 15);
b.Property<string>("BIC");
b.Property<string>("BankCode")
.HasAnnotation("MaxLength", 5);
b.Property<string>("BankCode");
b.Property<int>("BankedKey");
b.Property<string>("IBAN")
.HasAnnotation("MaxLength", 33);
b.Property<string>("IBAN");
b.Property<string>("WicketCode")
.HasAnnotation("MaxLength", 5);
b.Property<string>("WicketCode");
b.HasKey("Id");
});
@ -440,23 +435,19 @@ namespace Yavsc.Migrations
b.Property<string>("AuthorId");
b.Property<string>("Content")
.HasAnnotation("MaxLength", 56224);
b.Property<string>("Content");
b.Property<DateTime>("DateCreated");
b.Property<DateTime>("DateModified");
b.Property<string>("Lang")
.HasAnnotation("MaxLength", 8);
b.Property<string>("Lang");
b.Property<string>("Photo")
.HasAnnotation("MaxLength", 1024);
b.Property<string>("Photo");
b.Property<int>("Rate");
b.Property<string>("Title")
.HasAnnotation("MaxLength", 1024);
b.Property<string>("Title");
b.Property<string>("UserCreated");
@ -484,8 +475,7 @@ namespace Yavsc.Migrations
b.Property<string>("AuthorId")
.IsRequired();
b.Property<string>("Content")
.HasAnnotation("MaxLength", 1024);
b.Property<string>("Content");
b.Property<DateTime>("DateCreated");
@ -552,8 +542,7 @@ namespace Yavsc.Migrations
modelBuilder.Entity("Yavsc.Models.Chat.ChatRoom", b =>
{
b.Property<string>("Name")
.HasAnnotation("MaxLength", 255);
b.Property<string>("Name");
b.Property<DateTime>("DateCreated");
@ -715,8 +704,7 @@ namespace Yavsc.Migrations
b.Property<string>("ActivityCode")
.IsRequired();
b.Property<string>("AdditionalInfo")
.HasAnnotation("MaxLength", 512);
b.Property<string>("AdditionalInfo");
b.Property<string>("ClientId")
.IsRequired();
@ -885,11 +873,9 @@ namespace Yavsc.Migrations
b.Property<long>("Id")
.ValueGeneratedOnAdd();
b.Property<string>("Description")
.HasAnnotation("MaxLength", 10240);
b.Property<string>("Description");
b.Property<string>("ShortName")
.HasAnnotation("MaxLength", 256);
b.Property<string>("ShortName");
b.Property<int>("Status");
@ -1014,7 +1000,6 @@ namespace Yavsc.Migrations
.ValueGeneratedOnAdd();
b.Property<string>("Name")
.IsRequired()
.HasAnnotation("MaxLength", 255);
b.HasKey("Id");
@ -1057,7 +1042,6 @@ namespace Yavsc.Migrations
.ValueGeneratedOnAdd();
b.Property<string>("Name")
.IsRequired()
.HasAnnotation("MaxLength", 255);
b.HasKey("Id");
@ -1096,8 +1080,7 @@ namespace Yavsc.Migrations
b.Property<DateTime>("DateModified");
b.Property<string>("ExecutorId")
.IsRequired();
b.Property<string>("ExecutorId");
b.Property<string>("OrderReference");
@ -1119,11 +1102,9 @@ namespace Yavsc.Migrations
b.Property<string>("ApplicationUserId");
b.Property<string>("Name")
.IsRequired();
b.Property<string>("Name");
b.Property<string>("OwnerId")
.IsRequired();
b.Property<string>("OwnerId");
b.Property<bool>("Public");
@ -1179,7 +1160,6 @@ namespace Yavsc.Migrations
.ValueGeneratedOnAdd();
b.Property<string>("Address")
.IsRequired()
.HasAnnotation("MaxLength", 512);
b.Property<double>("Latitude");
@ -1216,8 +1196,7 @@ namespace Yavsc.Migrations
b.Property<long>("Id")
.ValueGeneratedOnAdd();
b.Property<string>("Name")
.IsRequired();
b.Property<string>("Name");
b.HasKey("Id");
});
@ -1239,30 +1218,24 @@ namespace Yavsc.Migrations
b.Property<long>("Id")
.ValueGeneratedOnAdd();
b.Property<string>("DifferedFileName")
.HasAnnotation("MaxLength", 255);
b.Property<string>("DifferedFileName");
b.Property<string>("MediaType")
.HasAnnotation("MaxLength", 127);
b.Property<string>("MediaType");
b.Property<string>("OwnerId")
.IsRequired();
b.Property<string>("OwnerId");
b.Property<string>("Pitch")
.HasAnnotation("MaxLength", 1023);
b.Property<string>("Pitch");
b.Property<int>("SequenceNumber");
b.Property<string>("Title")
.HasAnnotation("MaxLength", 255);
b.Property<string>("Title");
b.HasKey("Id");
});
modelBuilder.Entity("Yavsc.Models.Workflow.Activity", b =>
{
b.Property<string>("Code")
.HasAnnotation("MaxLength", 512);
b.Property<string>("Code");
b.Property<DateTime>("DateCreated");
@ -1274,12 +1247,9 @@ namespace Yavsc.Migrations
b.Property<string>("ModeratorGroupName");
b.Property<string>("Name")
.IsRequired()
.HasAnnotation("MaxLength", 512);
b.Property<string>("Name");
b.Property<string>("ParentCode")
.HasAnnotation("MaxLength", 512);
b.Property<string>("ParentCode");
b.Property<string>("Photo");
@ -1301,8 +1271,7 @@ namespace Yavsc.Migrations
b.Property<string>("ActionName");
b.Property<string>("ActivityCode")
.IsRequired();
b.Property<string>("ActivityCode");
b.Property<string>("Title");
@ -1341,9 +1310,7 @@ namespace Yavsc.Migrations
b.Property<int>("Rate");
b.Property<string>("SIREN")
.IsRequired()
.HasAnnotation("MaxLength", 14);
b.Property<string>("SIREN");
b.Property<bool>("UseGeoLocalizationToReduceDistanceWithClients");
@ -1447,8 +1414,8 @@ namespace Yavsc.Migrations
modelBuilder.Entity("Yavsc.Server.Models.EMailing.MailingTemplate", b =>
{
b.Property<long>("Id")
.ValueGeneratedOnAdd();
b.Property<string>("Id")
.HasAnnotation("MaxLength", 256);
b.Property<string>("Body")
.HasAnnotation("MaxLength", 65536);
@ -1468,7 +1435,7 @@ namespace Yavsc.Migrations
b.Property<int>("ToSend");
b.Property<string>("Topic")
.HasAnnotation("MaxLength", 128);
.HasAnnotation("MaxLength", 256);
b.Property<string>("UserCreated");
@ -1498,8 +1465,7 @@ namespace Yavsc.Migrations
b.Property<long>("GitId");
b.Property<string>("Name")
.IsRequired();
b.Property<string>("Name");
b.Property<string>("OwnerId");
@ -1532,8 +1498,7 @@ namespace Yavsc.Migrations
b.Property<long>("Id")
.ValueGeneratedOnAdd();
b.Property<string>("Name")
.IsRequired();
b.Property<string>("Name");
b.Property<long>("ProjectId");
@ -1545,17 +1510,13 @@ namespace Yavsc.Migrations
b.Property<long>("Id")
.ValueGeneratedOnAdd();
b.Property<string>("Branch")
.HasAnnotation("MaxLength", 512);
b.Property<string>("Branch");
b.Property<string>("OwnerId")
.HasAnnotation("MaxLength", 1024);
b.Property<string>("OwnerId");
b.Property<string>("Path")
.IsRequired();
b.Property<string>("Path");
b.Property<string>("Url")
.HasAnnotation("MaxLength", 2048);
b.Property<string>("Url");
b.HasKey("Id");
});