Files
reallife-gamemode/Server/Entities/BusinessBankAccount.cs
2018-11-18 22:21:02 +01:00

23 lines
627 B
C#

using reallife_gamemode.Server.Business;
using reallife_gamemode.Server.Util;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace reallife_gamemode.Server.Entities
{
public class BusinessBankAccount : IBankAccount
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; set; }
public int Balance { get; set; }
public int BusinessId { get; set; }
[NotMapped]
public BusinessBase Business { get; set; }
}
}