mirror of
https://github.com/GCMatters/hermes.git
synced 2026-02-04 05:30:13 +01:00
Add Event tables
This commit is contained in:
11
WebApp/DTOs/EventsDto.cs
Normal file
11
WebApp/DTOs/EventsDto.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace WebApp.DTOs;
|
||||
public record class EventsDto(
|
||||
int Id,
|
||||
int IdOrganisation, //foreign key
|
||||
string Place,
|
||||
[StringLength(200)] string Description,
|
||||
DateTime Date
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user