profiles dj, musicien, formation

This commit is contained in:
Paul Schneider 2017-01-06 14:02:17 +01:00
commit e143052211
35 changed files with 5364 additions and 18 deletions

View file

@ -176,6 +176,9 @@ namespace Yavsc.Migrations
.IsRequired()
.HasAnnotation("MaxLength", 512);
b.Property<string>("ParentCode")
.HasAnnotation("MaxLength", 512);
b.Property<string>("Photo");
b.HasKey("Code");
@ -437,6 +440,18 @@ namespace Yavsc.Migrations
b.HasKey("Id");
});
modelBuilder.Entity("Yavsc.Models.Booking.Instrument", b =>
{
b.Property<long>("Id")
.ValueGeneratedOnAdd();
b.Property<string>("Name")
.IsRequired()
.HasAnnotation("MaxLength", 255);
b.HasKey("Id");
});
modelBuilder.Entity("Yavsc.Models.Booking.MusicalPreference", b =>
{
b.Property<long>("Id")
@ -446,7 +461,7 @@ namespace Yavsc.Migrations
.IsRequired()
.HasAnnotation("MaxLength", 255);
b.Property<long>("OwnerId");
b.Property<string>("OwnerProfileId");
b.Property<int>("Rate");
@ -748,6 +763,13 @@ namespace Yavsc.Migrations
.HasForeignKey("Yavsc.Models.AccountBalance", "UserId");
});
modelBuilder.Entity("Yavsc.Models.Activity", b =>
{
b.HasOne("Yavsc.Models.Activity")
.WithMany()
.HasForeignKey("ParentCode");
});
modelBuilder.Entity("Yavsc.Models.ApplicationUser", b =>
{
b.HasOne("Yavsc.Model.Bank.BankIdentity")
@ -814,6 +836,13 @@ namespace Yavsc.Migrations
.HasForeignKey("PerformerId");
});
modelBuilder.Entity("Yavsc.Models.Booking.MusicalPreference", b =>
{
b.HasOne("Yavsc.Models.Workflow.PerformerProfile")
.WithMany()
.HasForeignKey("OwnerProfileId");
});
modelBuilder.Entity("Yavsc.Models.Chat.Connection", b =>
{
b.HasOne("Yavsc.Models.ApplicationUser")