Enemy classes and controllers
This commit is contained in:
20
EstusShots.Server/Models/Enemy.cs
Normal file
20
EstusShots.Server/Models/Enemy.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user