Add DbContext, Models

This commit is contained in:
VegaZ
2018-09-17 18:57:49 +02:00
parent 0b5a428dac
commit 7cafc4d66b
7 changed files with 134 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace reallife_gamemode.Server.Entities
{
public class Character
{
[Key]
public int Id { get; set; }
public int UserId { get; set; }
public string Name { get; set; }
public byte Gender { get; set; }
}
}