//by JuSNS v1.0系列
//官方站：www.juSNS.com，演示站:www.ju001.com，www.julala.cn
//QQ:655071(技术)，QQ:9170617（客服）
//MSN:simplt@163.com EMail:simplt@163.com
//program design by Simplt.Xie，arjun
//========================================

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

namespace JuSNS.Model
{
    /// <summary>
    /// 分享实体类
    /// </summary>
    public class ShareInfo
    {
        private int _ID;
        private int _UserID;
        private string _Title;
        private string _Url;
        private string _Description;
        private EnumShareType _ShareType;
        private int _CaseID;
        private EnumIsLock _IsLock;
        private DateTime _PostTime;
        private string _PostIP;
        private int _Comments;
        private EnumPrivacy _Privacy;
        private int _FriendIDGroup;

        /// <summary>
        /// 自增长ID
        /// </summary>
        public int ID
        {
            get { return _ID; }
            set { _ID = value; }
        }

        /// <summary>
        /// 创建分享的用户ID
        /// </summary>
        public int UserID
        {
            get { return _UserID; }
            set { _UserID = value; }
        }

        /// <summary>
        /// 标题
        /// </summary>
        public string Title
        {
            get { return _Title; }
            set { _Title = value; }
        }

        /// <summary>
        /// 地址
        /// </summary>
        public string Url
        {
            get { return _Url; }
            set { _Url = value; }
        }
        /// <summary>
        /// 描述
        /// </summary>
        public string Description
        {
            get { return _Description; }
            set { _Description = value; }
        }

        /// <summary>
        /// 分享类型
        /// </summary>
        public EnumShareType ShareType
        {
            get { return _ShareType; }
            set { _ShareType = value; }
        }

        /// <summary>
        /// 被分享的ID
        /// </summary>
        public int CaseID
        {
            get { return _CaseID; }
            set { _CaseID = value; }
        }

        /// <summary>
        /// 是否锁定
        /// </summary>
        public EnumIsLock IsLock
        {
            get { return _IsLock; }
            set { _IsLock = value; }
        }

        /// <summary>
        /// 分享时间
        /// </summary>
        public DateTime PostTime
        {
            get { return _PostTime; }
            set { _PostTime = value; }
        }

        /// <summary>
        /// 分享IP
        /// </summary>
        public string PostIP
        {
            get { return _PostIP; }
            set { _PostIP = value; }
        }

        /// <summary>
        /// 评论数
        /// </summary>
        public int Comments
        {
            get { return _Comments; }
            set { _Comments = value; }
        }

        /// <summary>
        /// 隐私程度
        /// </summary>
        public EnumPrivacy Privacy
        {
            get { return _Privacy; }
            set { _Privacy = value; }
        }

        /// <summary>
        /// 分享给用户的ID
        /// </summary>
        public int FriendIDGroup
        {
            get { return _FriendIDGroup; }
            set { _FriendIDGroup = value; }
        }
    }
}
