This commit is contained in:
2017-05-12 12:15:57 +02:00
parent a8437733ae
commit db02e965dc
44 changed files with 2799 additions and 351 deletions

View File

@ -319,6 +319,10 @@ namespace Yavsc.Migrations
b.Property<long?>("EstimateTemplateId");
b.Property<string>("Name")
.IsRequired()
.HasAnnotation("MaxLength", 256);
b.Property<decimal>("UnitaryCost");
b.HasKey("Id");
@ -547,6 +551,8 @@ namespace Yavsc.Migrations
b.Property<long?>("LocationId");
b.Property<string>("PaymentId");
b.Property<string>("PerformerId")
.IsRequired();
@ -853,7 +859,7 @@ namespace Yavsc.Migrations
modelBuilder.Entity("Yavsc.Models.Payment.PaypalPayment", b =>
{
b.Property<string>("PaypalPayerId");
b.Property<string>("PaypalPaymentId");
b.Property<DateTime>("DateCreated");
@ -862,16 +868,16 @@ namespace Yavsc.Migrations
b.Property<string>("ExecutorId")
.IsRequired();
b.Property<string>("PaypalPaymentId")
b.Property<string>("OrderReference");
b.Property<string>("PaypalPayerId")
.IsRequired();
b.Property<string>("UserCreated");
b.Property<string>("UserModified");
b.Property<string>("orderReference");
b.HasKey("PaypalPayerId");
b.HasKey("PaypalPaymentId");
});
modelBuilder.Entity("Yavsc.Models.Relationship.Circle", b =>
@ -1254,6 +1260,10 @@ namespace Yavsc.Migrations
.WithMany()
.HasForeignKey("LocationId");
b.HasOne("Yavsc.Models.Payment.PaypalPayment")
.WithMany()
.HasForeignKey("PaymentId");
b.HasOne("Yavsc.Models.Workflow.PerformerProfile")
.WithMany()
.HasForeignKey("PerformerId");