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

    /// <summary>
    /// The pharmacyLog.
    /// </summary>
    public class ScanLog
    {
        /// <summary>
        /// Gets or sets the Scan Log id.
        /// </summary>
        [Key, Identity]
        public int ScanLogId { get; set; }

        /// <summary>
        /// Gets or sets the Scan Log type.
        /// </summary>
        public int ScanLogTypeId { get; set; }

        /// <summary>
        /// Gets or sets the log date.
        /// </summary>
        [IgnoreUpdate]
        public DateTime LogDate { get; set; }

        /// <summary>
        /// Gets or sets the app type.
        /// </summary>
        public short LogFrom { get; set; }

        /// <summary>
        /// Gets or sets the user id.
        /// </summary>
        public int? AccountId { get; set; }

        /// <summary>
        /// Gets or sets the pharmacyLog code.
        /// </summary>
        public string LogDescription { get; set; }

        /// <summary>
        /// Gets or sets the Location Id .
        /// </summary>
        public int? LocationId { get; set; }
    }
}