friendsinfo.cs

来自「一个即时通信工具」· CS 代码 · 共 46 行

CS
46
字号
using System;
using System.Collections.Generic;
using System.Text;

namespace Model
{
     /// <summary>
    /// FriendsInfo类 
    /// </summary>
    public class FriendsInfo
    {

        private int _Id;
        public int Id
        {
            get { return this._Id; }
            set { this._Id = value; }
        }

        private UsersInfo _Host;
        public UsersInfo Host
        {
            get { return this._Host; }
            set { this._Host = value; }
        }

        private UsersInfo _Friend;
        public UsersInfo Friend
        {
            get { return this._Friend; }
            set { this._Friend = value; }
        }

        public FriendsInfo()
        {
            // TO DO CODE:
        }

        public FriendsInfo(int id)
        {
            _Id = id;
        }
       
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?