using System;
using System.Collections.Generic;
using System.Web;

namespace digioz
{
    public class CommentPage
    {
        private int ciCommentPageID;
        private string csCommentPageParentPage;
        private bool cbCommentPageCommentsEnabled;
        private int ciCommentPagePageID;

        public int ID
        {
            get { return ciCommentPageID; }
            set { ciCommentPageID = value; }
        }

        public string ParentPage
        {
            get { return csCommentPageParentPage; }
            set { csCommentPageParentPage = value; }
        }

        public bool IsCommentationEnabled
        {
            get { return cbCommentPageCommentsEnabled; }
            set { cbCommentPageCommentsEnabled = value; }
        }

        public int CommentPagePageID
        {
            get { return ciCommentPagePageID; }
            set { ciCommentPagePageID = value; }
        }

        public CommentPage(string psParentPage, bool pbIsCommentationEnabled, int piPageID)
        {
            this.csCommentPageParentPage = psParentPage;
            this.cbCommentPageCommentsEnabled = pbIsCommentationEnabled;
            this.ciCommentPagePageID = piPageID;
        }
    }
}