Enemy classes and controllers

This commit is contained in:
2020-03-07 10:57:15 +01:00
parent 5c6b19f360
commit 2e7aed8d49
10 changed files with 363 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
using System;
using System.ComponentModel.DataAnnotations;
namespace EstusShots.Server.Models
{
public class Enemy
{
public Guid EnemyId { get; set; }
[MaxLength(50)] public string Name { get; set; } = default!;
public bool Boss { get; set; }
public bool Defeated { get; set; }
public Guid? SeasonId { get; set; }
public Season? Season { get; set; }
}
}