a templates controller

This commit is contained in:
2018-04-21 19:29:06 +02:00
parent b0c79ece68
commit 9daaaf39c6
14 changed files with 3421 additions and 168 deletions

View File

@ -163,7 +163,8 @@ namespace Yavsc.Migrations
b.Property<string>("ConcurrencyStamp")
.IsConcurrencyToken();
b.Property<string>("DedicatedGoogleCalendar");
b.Property<string>("DedicatedGoogleCalendar")
.HasAnnotation("MaxLength", 512);
b.Property<long>("DiskQuota")
.HasAnnotation("Relational:DefaultValue", "524288000")
@ -1314,6 +1315,34 @@ namespace Yavsc.Migrations
b.HasKey("DoesCode", "UserId");
});
modelBuilder.Entity("Yavsc.Server.Models.EMailing.MailingTemplate", b =>
{
b.Property<long>("Id")
.ValueGeneratedOnAdd();
b.Property<string>("Body")
.HasAnnotation("MaxLength", 65536);
b.Property<DateTime>("DateCreated");
b.Property<DateTime>("DateModified");
b.Property<string>("ManagerId");
b.Property<string>("ReplyToAddress");
b.Property<string>("ShortName")
.HasAnnotation("MaxLength", 128);
b.Property<int>("ToSend");
b.Property<string>("UserCreated");
b.Property<string>("UserModified");
b.HasKey("Id");
});
modelBuilder.Entity("Microsoft.AspNet.Identity.EntityFramework.IdentityRoleClaim<string>", b =>
{
b.HasOne("Microsoft.AspNet.Identity.EntityFramework.IdentityRole")
@ -1766,6 +1795,13 @@ namespace Yavsc.Migrations
.WithMany()
.HasForeignKey("UserId");
});
modelBuilder.Entity("Yavsc.Server.Models.EMailing.MailingTemplate", b =>
{
b.HasOne("Yavsc.Models.ApplicationUser")
.WithMany()
.HasForeignKey("ManagerId");
});
}
}
}