using System.ComponentModel.DataAnnotations;
using Kavita.Models.Entities.Enums.Device;

namespace Kavita.Models.DTOs.Device.EmailDevice;

public sealed record UpdateEmailDeviceDto
{
    [Required]
    public int Id { get; set; }
    [Required]
    public string Name { get; set; } = default!;
    /// <summary>
    /// Platform of the device. If not know, defaults to "Custom"
    /// </summary>
    [Required]
    public EmailDevicePlatform Platform { get; set; }
    [Required]
    public string EmailAddress { get; set; } = default!;
}
