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

@@ -1,4 +1,5 @@
using System;
using System.ComponentModel.DataAnnotations;
namespace EstusShots.Server.Models
{
@@ -6,7 +7,7 @@ namespace EstusShots.Server.Models
{
public Guid DrinkId { get; set; }
public string Name { get; set; } = default!;
[MaxLength(50)] public string Name { get; set; } = default!;
public double Vol { get; set; }
}