mirror of
https://github.com/GCMatters/hermes.git
synced 2026-02-04 05:30:13 +01:00
16 lines
418 B
C#
16 lines
418 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using WebApp.Entities;
|
|
|
|
namespace WebApp.DTOs;
|
|
|
|
// Input values in JSON file to update event
|
|
public record class EventUpdateDto
|
|
(
|
|
[Required][StringLength(50)] string Title,
|
|
[StringLength(500)] string Description,
|
|
string? ImageURL,
|
|
[Required][StringLength(100)] string Location,
|
|
[Required] DateTime? EventDate,
|
|
ICollection<EventSkill> EventSkills
|
|
);
|