using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;

namespace Hims.Domain.Entities
{
    public class PackageModuleDetail
    {
        [Key, Identity]
        public int PackageModuleDetailId { get; set; }

        public int PackageModuleId { get; set; }

        public int ModulesMasterId { get; set; }

        public int ReferenceId { get; set; }

        public short Quantity { get; set; }

        public bool IsFree { get; set; }

        public decimal? Amount { get; set; }

        [IgnoreUpdate]
        public bool Active { get; set; }

        [IgnoreUpdate]
        public int CreatedBy { get; set; }

        [IgnoreUpdate]
        public DateTime CreatedDate { get; set; }

        public int? ModifiedBy { get; set; }

        public DateTime? ModifiedDate { get; set; }
    }
}
