using SecureSharing.Business.Infrastructure;

namespace SecureSharing.Models;

public sealed class MessageModel
{
    public int Id { get; set; }
    public string Text { get; set; }
    public Guid Code { get; set; }
    public PeriodOfValidity ChosenPeriod { get; set; }
    public List<IFormFile> Files { get; init; } = new();
    public List<string> FileNames { get; init; } = new();

    public string FilesAsText { get; set; } = default!;

    public bool Anonymous { get; set; } = false;

    public bool AllowEditing { get; set; } = false;
    // public Dictionary<int, string> AvailablePeriods { get; set; }
}