-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathEventDTO.cs
More file actions
48 lines (30 loc) · 1.16 KB
/
EventDTO.cs
File metadata and controls
48 lines (30 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
using System;
using System.Collections.Generic;
using EventsExpress.Db.Entities;
using EventsExpress.Db.Enums;
using Microsoft.AspNetCore.Http;
using NetTopologySuite.Geometries;
namespace EventsExpress.Core.DTOs
{
public class EventDto
{
public Guid Id { get; set; }
public bool IsReccurent { get; set; }
public string Title { get; set; }
public string Description { get; set; }
public DateTime? DateFrom { get; set; }
public DateTime? DateTo { get; set; }
public int? MaxParticipants { get; set; }
public int Frequency { get; set; }
public Periodicity Periodicity { get; set; }
public IFormFile Photo { get; set; }
public bool? IsPublic { get; set; }
public LocationDto Location { get; set; }
public IEnumerable<CategoryDto> Categories { get; set; }
public EventStatus EventStatus { get; set; }
public IEnumerable<UserEvent> Visitors { get; set; }
public IEnumerable<InventoryDto> Inventories { get; set; }
public IEnumerable<Guid> OwnerIds { get; set; }
public IEnumerable<User> Owners { get; set; }
}
}