period
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
using System;
|
||||
using Microsoft.Data.Entity;
|
||||
using Microsoft.Data.Entity.Infrastructure;
|
||||
using Microsoft.Data.Entity.Metadata;
|
||||
using Microsoft.Data.Entity.Migrations;
|
||||
using Yavsc.Models;
|
||||
|
||||
namespace Yavsc.Migrations
|
||||
@ -407,6 +409,17 @@ namespace Yavsc.Migrations
|
||||
b.HasKey("Id");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Calendar.Period", b =>
|
||||
{
|
||||
b.Property<DateTime>("Start");
|
||||
|
||||
b.Property<DateTime>("End");
|
||||
|
||||
b.Property<string>("BrusherProfileUserId");
|
||||
|
||||
b.HasKey("Start", "End");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Chat.Connection", b =>
|
||||
{
|
||||
b.Property<string>("ConnectionId");
|
||||
@ -454,8 +467,6 @@ namespace Yavsc.Migrations
|
||||
|
||||
b.Property<decimal>("CarePrice");
|
||||
|
||||
b.Property<int>("EndOfTheDay");
|
||||
|
||||
b.Property<decimal>("FlatFeeDiscount");
|
||||
|
||||
b.Property<decimal>("HalfBalayagePrice");
|
||||
@ -514,8 +525,6 @@ namespace Yavsc.Migrations
|
||||
|
||||
b.Property<decimal>("ShortPermanentPrice");
|
||||
|
||||
b.Property<int>("StartOfTheDay");
|
||||
|
||||
b.Property<decimal>("WomenHalfCutPrice");
|
||||
|
||||
b.Property<decimal>("WomenLongCutPrice");
|
||||
@ -545,8 +554,6 @@ namespace Yavsc.Migrations
|
||||
|
||||
b.Property<DateTime>("DateModified");
|
||||
|
||||
b.Property<string>("Description");
|
||||
|
||||
b.Property<DateTime?>("EventDate");
|
||||
|
||||
b.Property<long?>("LocationId");
|
||||
@ -590,8 +597,6 @@ namespace Yavsc.Migrations
|
||||
|
||||
b.Property<DateTime>("DateModified");
|
||||
|
||||
b.Property<string>("Description");
|
||||
|
||||
b.Property<DateTime>("EventDate");
|
||||
|
||||
b.Property<long?>("LocationId");
|
||||
@ -923,12 +928,16 @@ namespace Yavsc.Migrations
|
||||
b.HasKey("OwnerId", "UserId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Relationship.Link", b =>
|
||||
modelBuilder.Entity("Yavsc.Models.Relationship.HyperLink", b =>
|
||||
{
|
||||
b.Property<string>("HRef");
|
||||
|
||||
b.Property<string>("Method");
|
||||
|
||||
b.Property<string>("BrusherProfileUserId");
|
||||
|
||||
b.Property<string>("ContentType");
|
||||
|
||||
b.Property<string>("PayPalPaymentCreationToken");
|
||||
|
||||
b.Property<string>("Rel");
|
||||
@ -1111,8 +1120,6 @@ namespace Yavsc.Migrations
|
||||
|
||||
b.Property<DateTime>("DateModified");
|
||||
|
||||
b.Property<string>("Description");
|
||||
|
||||
b.Property<DateTime>("EventDate");
|
||||
|
||||
b.Property<long?>("LocationId");
|
||||
@ -1258,6 +1265,13 @@ namespace Yavsc.Migrations
|
||||
.HasForeignKey("AuthorId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Calendar.Period", b =>
|
||||
{
|
||||
b.HasOne("Yavsc.Models.Haircut.BrusherProfile")
|
||||
.WithMany()
|
||||
.HasForeignKey("BrusherProfileUserId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Chat.Connection", b =>
|
||||
{
|
||||
b.HasOne("Yavsc.Models.ApplicationUser")
|
||||
@ -1441,8 +1455,12 @@ namespace Yavsc.Migrations
|
||||
.HasForeignKey("ApplicationUserId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Relationship.Link", b =>
|
||||
modelBuilder.Entity("Yavsc.Models.Relationship.HyperLink", b =>
|
||||
{
|
||||
b.HasOne("Yavsc.Models.Haircut.BrusherProfile")
|
||||
.WithMany()
|
||||
.HasForeignKey("BrusherProfileUserId");
|
||||
|
||||
b.HasOne("Yavsc.Models.Payment.PayPalPayment")
|
||||
.WithMany()
|
||||
.HasForeignKey("PayPalPaymentCreationToken");
|
||||
|
Reference in New Issue
Block a user