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

namespace JuSNS.Model
{
    /// <summary>
    /// 好友描述
    /// </summary>
    public class FriendDescInfo
    {
        private int _ID;
        private int _Modifier;
        private int _Affirmant;
        private int _Reply;
        private EnumFriendDetailType _DescType;
        private int _DescStartYear = -1;
        private int _DescEndYear = -1;
        private int _DescIsKnow = -1;
        private string _DescText;
        /// <summary>
        /// 编号
        /// </summary>
        public int ID
        {
            get { return _ID; }
            set { _ID = value; }
        }
        /// <summary>
        /// 修改者
        /// </summary>
        public int Modifier
        {
            get { return _Modifier; }
            set { _Modifier = value; }
        }
        /// <summary>
        /// 接受修改者
        /// </summary>
        public int Affirmant
        {
            get { return _Affirmant; }
            set { _Affirmant = value; }
        }
        /// <summary>
        /// 回复
        /// </summary>
        public int Reply
        {
            get { return _Reply; }
            set { _Reply = value; }
        }
        /// <summary>
        /// 描述类型
        /// </summary>
        public EnumFriendDetailType DescType
        {
            get { return _DescType; }
            set { _DescType = value; }
        }
        /// <summary>
        /// 开始年份,初始值为-1,表示此选项无效
        /// </summary>
        public int DescStartYear
        {
            get { return _DescStartYear; }
            set { _DescStartYear = value; }
        }
        /// <summary>
        /// 结束年份,初始值为-1,表示此选项无效
        /// </summary>
        public int DescEndYear
        {
            get { return _DescEndYear; }
            set { _DescEndYear = value; }
        }
        /// <summary>
        /// 是否以前认识,初始值为-1,表示此选项无效,0表示否、1表示是
        /// </summary>
        public int DescIsKnow
        {
            get { return _DescIsKnow; }
            set { _DescIsKnow = value; }
        }
        /// <summary>
        /// 描述文字
        /// </summary>
        public string DescText
        {
            get { return _DescText; }
            set { _DescText = value; }
        }
    }
    /// <summary>
    /// 好友相关信息
    /// </summary>
    public class FriendInfo
    {
        private string _PortraitDir;
        private string _UserName;
        private int _UserId;
        private string _NetworkName;
        private string _LastMiniBlog;
        private DateTime _LastMiniBlogTime;
        private int _FDegree;
        private int _ID;

        public string PortraitDir
        {
            set { _PortraitDir = value; }
            get { return _PortraitDir; }
        }
        public string UserName
        {
            set { _UserName = value; }
            get { return _UserName; }
        }
        public int UserId
        {
            set { _UserId = value; }
            get { return _UserId; }
        }
        public int ID
        {
            set { _ID = value; }
            get { return _ID; }
        }
        public int FDegree
        {
            set { _FDegree = value; }
            get { return _FDegree; }
        }
        public string NetworkName
        {
            set { _NetworkName = value; }
            get { return _NetworkName; }
        }
        public string LastMiniBlog
        {
            set { _LastMiniBlog = value; }
            get { return _LastMiniBlog; }
        }
        public DateTime LastMiniBlogTime
        {
            set { _LastMiniBlogTime = value; }
            get { return _LastMiniBlogTime; }
        }
    }
}
