Files
reallife-gamemode/Server/Entities/BusinessBankAccount.cs
2018-11-18 16:56:37 +01:00

22 lines
595 B
C#

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; }
[ForeignKey("Business")]
public int BusinessId { get; set; }
public Business Business { get; set; }
}
}