mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 07:13:12 +00:00
34 lines
993 B
C#
34 lines
993 B
C#
|
|
using System;
|
||
|
|
|
||
|
|
namespace Api.SeaHavenIndustries.DTOs
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// DTO for GET responses - Event data
|
||
|
|
/// Used to return event information to the client
|
||
|
|
/// </summary>
|
||
|
|
public class Event_DTO
|
||
|
|
{
|
||
|
|
public int Id { get; set; }
|
||
|
|
public string Title { get; set; } = null!;
|
||
|
|
public string? Description { get; set; }
|
||
|
|
public string? Location { get; set; }
|
||
|
|
|
||
|
|
public int? RecordID { get; set; }
|
||
|
|
public string? RecordName { get; set; }
|
||
|
|
public string? RecordTargetType { get; set; }
|
||
|
|
|
||
|
|
public int ReminderMinutes { get; set; }
|
||
|
|
public string EventColor { get; set; } = null!;
|
||
|
|
|
||
|
|
public DateTime StartDate { get; set; }
|
||
|
|
public string? StartTime { get; set; }
|
||
|
|
public DateTime EndDate { get; set; }
|
||
|
|
public string? EndTime { get; set; }
|
||
|
|
public bool AllDay { get; set; }
|
||
|
|
|
||
|
|
public DateTime? CreatedDate { get; set; }
|
||
|
|
public string? createdby { get; set; }
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|