mirror of
https://github.com/GCMatters/hermes.git
synced 2026-02-04 13:40:13 +01:00
Merge branch 'EventRegistrationEndpoints'
This commit is contained in:
11
WebApp/DTOs/EventRegistrationDto.cs
Normal file
11
WebApp/DTOs/EventRegistrationDto.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using WebApp.Entities;
|
||||
|
||||
namespace WebApp.DTOs;
|
||||
|
||||
// Output values in JSON file
|
||||
public record class EventRegistrationDto(
|
||||
int EventId,
|
||||
int UserId,
|
||||
DateTime RegisteredAt
|
||||
);
|
||||
Reference in New Issue
Block a user