27 lines
707 B
C#
27 lines
707 B
C#
using Microsoft.EntityFrameworkCore;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Text;
|
|
|
|
/**
|
|
* @overview Life of German Reallife - Entities Faction (Faction.cs)
|
|
* @author VegaZ, hydrant
|
|
* @copyright (c) 2008 - 2018 Life of German
|
|
*/
|
|
|
|
namespace reallife_gamemode.Server.Entities
|
|
{
|
|
public class Faction
|
|
{
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public int Id { get; set; }
|
|
[StringLength(32)]
|
|
public string Name { get; set; }
|
|
public float BankAccount { get; set; }
|
|
public bool StateOwned { get; set; }
|
|
}
|
|
}
|