From bc2b57453137af8339644b1d9e8deb722b788f28 Mon Sep 17 00:00:00 2001 From: Andrew Reynolds <areynold@illinois.edu> Date: Tue, 24 Jul 2018 09:28:46 -0500 Subject: [PATCH] add v2 event dto --- .../V2/Events/EventDto.cs | 75 +++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 BeckmanComms.Api.DataTransferObjects/V2/Events/EventDto.cs diff --git a/BeckmanComms.Api.DataTransferObjects/V2/Events/EventDto.cs b/BeckmanComms.Api.DataTransferObjects/V2/Events/EventDto.cs new file mode 100644 index 0000000..a5b93bd --- /dev/null +++ b/BeckmanComms.Api.DataTransferObjects/V2/Events/EventDto.cs @@ -0,0 +1,75 @@ +using System; + +namespace BeckmanComms.Api.DataTransferObjects.V2.Events +{ + /// <summary> + /// Data Transfer Object representing a Beckman Institute event. + /// </summary> + public class EventDto + { + /// <summary> + /// Event's unique identifier. + /// </summary> + public int EventId { get; set; } + + /// <summary> + /// ID for calendar containing event. + /// </summary> + public string CalendarId { get; set; } + + /// <summary> + /// Event title. + /// </summary> + public string Title { get; set; } + + /// <summary> + /// Event description. + /// </summary> + public string Description { get; set; } + + /// <summary> + /// Starting date and time of event. + /// </summary> + public DateTime StartDate { get; set; } + + /// <summary> + /// Ending date and time of event. + /// </summary> + public DateTime EndDate { get; set; } + + /// <summary> + /// Event location. + /// </summary> + public string Location { get; set; } + + /// <summary> + /// Name of event's primary contact. + /// </summary> + public string ContactName { get; set; } + + /// <summary> + /// Event contact's email address. + /// </summary> + public string ContactEmail { get; set; } + + /// <summary> + /// Event contact's phone number. + /// </summary> + public string ContactPhone { get; set; } + + /// <summary> + /// Event sponsor. + /// </summary> + public string Sponsor { get; set; } + + /// <summary> + /// Type of event. + /// </summary> + public string EventType { get; set; } + + /// <summary> + /// Whether event is recurring. + /// </summary> + public bool Recurring { get; set; } + } +} \ No newline at end of file -- GitLab