mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-03-10 12:05:51 -04:00
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com> Co-authored-by: Joe Milazzo <josephmajora@gmail.com>
20 lines
498 B
C#
20 lines
498 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using Kavita.Models.Entities.Enums.Device;
|
|
|
|
namespace Kavita.Models.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!;
|
|
|
|
|
|
}
|