Add House Menu
This commit is contained in:
@@ -463,10 +463,14 @@ namespace ReallifeGamemode.Migrations
|
||||
b.Property<int>("Id")
|
||||
.ValueGeneratedOnAdd();
|
||||
|
||||
b.Property<bool>("CanRentIn");
|
||||
|
||||
b.Property<int?>("OwnerId");
|
||||
|
||||
b.Property<int>("Price");
|
||||
|
||||
b.Property<int>("RentalFee");
|
||||
|
||||
b.Property<string>("Type");
|
||||
|
||||
b.Property<float>("X");
|
||||
@@ -482,6 +486,24 @@ namespace ReallifeGamemode.Migrations
|
||||
b.ToTable("Houses");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("ReallifeGamemode.Server.Entities.HouseRentals", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
.ValueGeneratedOnAdd();
|
||||
|
||||
b.Property<int?>("HouseId");
|
||||
|
||||
b.Property<int?>("UserId");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("HouseId");
|
||||
|
||||
b.HasIndex("UserId");
|
||||
|
||||
b.ToTable("HouseRentals");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("ReallifeGamemode.Server.Entities.Interior", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
@@ -1137,6 +1159,17 @@ namespace ReallifeGamemode.Migrations
|
||||
.HasForeignKey("OwnerId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("ReallifeGamemode.Server.Entities.HouseRentals", b =>
|
||||
{
|
||||
b.HasOne("ReallifeGamemode.Server.Entities.House", "House")
|
||||
.WithMany()
|
||||
.HasForeignKey("HouseId");
|
||||
|
||||
b.HasOne("ReallifeGamemode.Server.Entities.User", "User")
|
||||
.WithMany()
|
||||
.HasForeignKey("UserId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("ReallifeGamemode.Server.Entities.Logs.Death", b =>
|
||||
{
|
||||
b.HasOne("ReallifeGamemode.Server.Entities.User", "Killer")
|
||||
|
||||
Reference in New Issue
Block a user