using System.ComponentModel.DataAnnotations.Schema;
namespace Jellyfin.Data.Entities.Security
{
    /// 
    /// An entity representing custom options for a device.
    /// 
    public class DeviceOptions
    {
        /// 
        /// Initializes a new instance of the  class.
        /// 
        /// The device id.
        public DeviceOptions(string deviceId)
        {
            DeviceId = deviceId;
        }
        /// 
        /// Gets the id.
        /// 
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int Id { get; private set; }
        /// 
        /// Gets the device id.
        /// 
        public string DeviceId { get; private set; }
        /// 
        /// Gets or sets the custom name.
        /// 
        public string? CustomName { get; set; }
    }
}