Add DbContext, Models
This commit is contained in:
16
Server/Entities/Character.cs
Normal file
16
Server/Entities/Character.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user