Fesaa c62b20f54b
BE Tech Debt (#4497)
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Co-authored-by: Joe Milazzo <josephmajora@gmail.com>
2026-03-07 10:04:08 -08:00

20 lines
543 B
C#

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!;
}