32 lines
837 B
C#
32 lines
837 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using reallife_gamemode.Server.Entities;
|
|
|
|
/**
|
|
* @overview Life of German Reallife - Entities Shop (Shop.cs)
|
|
* @author VegaZ
|
|
* @copyright (c) 2008 - 2018 Life of German
|
|
*/
|
|
|
|
namespace reallife_gamemode.Server.Entities
|
|
{
|
|
public class Shop
|
|
{
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public int Id { get; set; }
|
|
public string ShopName { get; set; }
|
|
public float Balance { get; set; }
|
|
|
|
[ForeignKey("ShopCategory")]
|
|
public int Category { get; set; }
|
|
public ShopCategory ShopCategory { get; set; }
|
|
|
|
public int Owner { get; set; }
|
|
public bool Active { get; set; }
|
|
}
|
|
}
|