Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

448 B
Raw Blame
using System.ComponentModel.DataAnnotations;
using API.Entities.Enums.Device;

namespace API.DTOs.Device;

public class CreateDeviceDto
{
    [Required]
    public string Name { get; set; } = default!;
    /// <summary>
    /// Platform of the device. If not know, defaults to "Custom"
    /// </summary>
    [Required]
    public DevicePlatform Platform { get; set; }
    [Required]
    public string EmailAddress { get; set; } = default!;


}