using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LHDN.CRM.Models.ViewModels
{
    public class TemplateUpdateViewModel
    {
        public AdminTemplateViewModel AdminTemplate { get; set; }
        public List<ChangeHistoryUpdateViewModel> ChangeHistory { get; set; }
    }

    public class AdminTemplateViewModel
    {
        public Int16 TemplateID { get; set; }
        public string TemplateName { get; set; }
        public string TemplateType { get; set; }
        public string TemplateHTML { get; set; }
        public string RefTableName { get; set; }
        public string Subject { get; set; }
        public string DefaultRecipient { get; set; }
        public bool IsSystemTemplate { get; set; }
        public int? LanguageID { get; set; }
        public bool IsActive { get; set; }
        public string CreatedBy { get; set; }
        public string CreatedByName { get; set; }
        public DateTime CreatedDateTime { get; set; }
        public string LastUpdatedBy { get; set; }
        public string LastUpdatedByName { get; set; }
        public DateTime LastUpdatedDateTime { get; set; }

        public List<TemplateBookmark> TemplateBookmark { get; set; }

    }

    public class TemplateBookmark
    {
       public int TemplateBookmarkID { get; set; }
       public Int16 TemplateID { get; set; }
       public string Text { get; set; }
       public string BookmarkName { get; set; }
    }
}
