using System;
using System.Collections.Generic;
using System.ComponentModel;

namespace MVCBlogo.NET.BO
{

    public class BlogEntry
    {
        private int _id = -1;
        private List<Tag> _tags = new List<Tag>();
        private List<Comment> _comments = new List<Comment>();

        public int id
        {
            get { return _id; }
            set { _id = value; }
        }

        public List<Tag> tags
        {
            get { return _tags; }
            set { _tags = value; }
        }

        public List<Comment> comments
        {
            get { return _comments; }
            set { _comments = value; }
        }

        public Author author { get; set; }
        public string title { get; set; }
        public string description { get; set; }
        public Types type { get; set; }
        public bool allowcomments { get; set; }
        public bool markprivate { get; set; }
        public string body { get; set; }
        public DateTime datecreated { get; set; }
        public DateTime datepublished { get; set; }
        public DateTime datemodified { get; set; }
    }
}
