mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-02 10:53:23 +00:00
51 lines
1.7 KiB
C#
51 lines
1.7 KiB
C#
|
|
namespace SeaHaven.Services.DTOs
|
||
|
|
{
|
||
|
|
public class EventDTO
|
||
|
|
{
|
||
|
|
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; }
|
||
|
|
}
|
||
|
|
|
||
|
|
public class PagedEventsResult
|
||
|
|
{
|
||
|
|
public List<EventDTO> Rows { get; set; } = new();
|
||
|
|
public int TotalCount { get; set; }
|
||
|
|
}
|
||
|
|
|
||
|
|
public class EditEventInput
|
||
|
|
{
|
||
|
|
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; }
|
||
|
|
}
|
||
|
|
}
|