corp-app/CORP-MAUI/Models/CalendarEvent.cs

18 lines
527 B
C#

namespace CORP_MAUI.Models;
/// <summary>
/// Модель события календаря
/// </summary>
public class CalendarEvent
{
public int Id { get; set; }
public string Title { get; set; } = string.Empty;
public string Description { get; set; } = string.Empty;
public DateTime StartDate { get; set; }
public DateTime EndDate { get; set; }
public string Location { get; set; } = string.Empty;
public List<User> Participants { get; set; } = new();
public User? Creator { get; set; }
}