feat: image url migration

registrations can now store image urls, which will be shown at view.html
This commit is contained in:
2025-06-02 03:01:10 +02:00
parent 4a82822d64
commit f7583738d7
12 changed files with 675 additions and 14 deletions

View File

@@ -1,4 +1,4 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations;
using WebApp.Entities;
namespace WebApp.DTOs;
@@ -8,6 +8,7 @@ public record class EventCreateDto
(
[Required][StringLength(50)] string Title,
[StringLength(500)] string Description,
string? ImageURL,
[Required][StringLength(100)] string Location,
[Required] DateTime? EventDate,
ICollection<EventSkill> EventSkills