#nullable enable
namespace Hims.Domain.Entities
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using Shared.Dapper.Attributes;

    /// <summary>
    /// The doctor device details.
    /// </summary>
    public class DoctorDeviceDetails
    {
        /// <summary>
        /// Gets or sets the doctor device details id.
        /// </summary>
        [Key, Identity]
        public int DoctorDeviceDetailsId { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether is webcam on.
        /// </summary>
        public bool IsWebcamOn { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether is mic on.
        /// </summary>
        public bool IsMicOn { get; set; }

        /// <summary>
        /// Gets or sets the appointment id.
        /// </summary>
        public int AppointmentId { get; set; }

        /// <summary>
        /// Gets or sets the caller id.
        /// </summary>
        public string? CallerId { get; set; }

        /// <summary>
        /// Gets or sets the ringed at.
        /// </summary>
        public DateTime? RingedAt { get; set; }

        /// <summary>
        /// Gets or sets the call started at.
        /// </summary>
        public DateTime? CallStartedAt { get; set; }

        /// <summary>
        /// Gets or sets the call lifted at.
        /// </summary>
        public DateTime? CallLiftedAt { get; set; }

        /// <summary>
        /// Gets or sets the call ended at.
        /// </summary>
        public DateTime? CallEndedAt { get; set; }

        /// <summary>
        /// Gets or sets the duration.
        /// </summary>
        public string? Duration { get; set; }

        /// <summary>
        /// Gets or sets the status.
        /// </summary>
        public string? Status { get; set; }

        /// <summary>
        /// Gets or sets the reason.
        /// </summary>
        public string? Reason { get; set; }
    }
}