using System;
using System.Collections.Generic;
using System.Text;

namespace JuSNS.Model
{
    /// <summary>
    /// 投票评论实体类
    /// </summary>
    public class VoteCommInfo
    {
        private int _ID;
        private int _UserID;
        private int _VoteID;
        private string _Content;
        private int _PID;
        private DateTime _AddTime;

        /// <summary>
        /// 自动编号
        /// </summary>
        public int ID
        {
            get { return _ID; }
            set { _ID = value; }
        }
        /// <summary>
        /// 用户编号
        /// </summary>
        public int UserID
        {
            get { return _UserID; }
            set { _UserID = value; }
        }
        /// <summary>
        /// 投票主题编号
        /// </summary>
        public int VoteID
        {
            get { return _VoteID; }
            set { _VoteID = value; }
        }
        /// <summary>
        /// 评论内容
        /// </summary>
        public string Content
        {
            get { return _Content; }
            set { _Content = value; }
        }
        /// <summary>
        /// 如果是自已的为0，别人回复的为1
        /// </summary>
        public int PID
        {
            get { return _PID; }
            set { _PID = value; }
        }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddTime
        {
            get { return _AddTime; }
            set { _AddTime = value; }
        }
    }
}
