initial commit from an older template
This commit is contained in:
13
Models/Database/InstructionCategory.cs
Normal file
13
Models/Database/InstructionCategory.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace GamificationService.Models.Database;
|
||||
|
||||
public class InstructionCategory
|
||||
{
|
||||
[Key]
|
||||
public long Id { get; set; }
|
||||
|
||||
[Required(ErrorMessage = "Title is required")]
|
||||
public string Title { get; set; } = null!;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user