Files
Wino-Mail/Wino.Core.Domain/Entities/Calendar/CalendarEventAttendee.cs

37 lines
873 B
C#
Raw Normal View History

using System;
using SQLite;
using Wino.Core.Domain.Enums;
2025-02-16 11:54:23 +01:00
namespace Wino.Core.Domain.Entities.Calendar;
// TODO: Connect to Contact store with Wino People.
public class CalendarEventAttendee
{
2025-02-16 11:54:23 +01:00
[PrimaryKey]
public Guid Id { get; set; } = Guid.NewGuid();
[NotNull]
public Guid EventId { get; set; }
[NotNull]
public string Email { get; set; } = string.Empty;
public string? DisplayName { get; set; }
public AttendeeResponseStatus ResponseStatus { get; set; } = AttendeeResponseStatus.NeedsAction;
public bool IsOptional { get; set; } = false;
public bool IsOrganizer { get; set; } = false;
public bool IsSelf { get; set; } = false;
public string? Comment { get; set; }
public int? AdditionalGuests { get; set; }
public DateTime CreatedDate { get; set; }
public DateTime LastModified { get; set; }
}