Continued business system
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using reallife_gamemode.Server.Util;
|
||||
using reallife_gamemode.Server.Business;
|
||||
using reallife_gamemode.Server.Util;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
@@ -14,8 +15,8 @@ namespace reallife_gamemode.Server.Entities
|
||||
public int Id { get; set; }
|
||||
public int Balance { get; set; }
|
||||
|
||||
[ForeignKey("Business")]
|
||||
public int BusinessId { get; set; }
|
||||
public Business Business { get; set; }
|
||||
[NotMapped]
|
||||
public BusinessBase Business { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user