namespace Hims.Domain.Entities
{
    using System;
    using System.ComponentModel.DataAnnotations;

    using Hims.Shared.Dapper.Attributes;

    /// <summary>
    /// The web hook.
    /// </summary>
    public class WebHook
    {
        /// <summary>
        /// Gets or sets the web hook id.
        /// </summary>
        [Key, Identity]
        public long WebHookId { get; set; }

        /// <summary>
        /// Gets or sets the event.
        /// </summary>
        public string WebHookEvent { get; set; }

        /// <summary>
        /// Gets or sets the data.
        /// </summary>
        public string WebHookData { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether active.
        /// </summary>
        public bool Active { get; set; }

        /// <summary>
        /// Gets or sets the created date.
        /// </summary>
        public DateTime CreatedDate { get; set; }
    }
}
