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