Kavita/API/DTOs/Device/EmailDevice/CreateEmailDeviceDto.cs
Joe Milazzo 9f29fa593d
Progress Overhaul + Profile Page and a LOT more! (#4262)
Co-authored-by: Amelia <77553571+Fesaa@users.noreply.github.com>
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
2025-12-09 10:00:11 -07:00

20 lines
478 B
C#

using System.ComponentModel.DataAnnotations;
using API.Entities.Enums.Device;
namespace API.DTOs.Device.EmailDevice;
public sealed record CreateEmailDeviceDto
{
[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!;
}