📄 onlinemessageinfo.cs
字号:
using System;
using System.Collections.Generic;
using System.Text;
namespace Model
{
public class OnLineMessageInfo
{
/// <summary>
/// 消息的无参构造函数
/// </summary>
public OnLineMessageInfo()
{ }
private string _content;
/// <summary>
/// 消息的内容
/// </summary>
public string Content
{
get { return _content; }
set { _content = value; }
}
private string _to;
/// <summary>
/// 消息的发送都有
/// </summary>
public string To
{
get { return _to;}
set { _to = value; }
}
private string _from;
/// <summary>
/// 消息的接受者
/// </summary>
public string From
{
get { return _from; }
set { _from = value; }
}
private DateTime _time;
/// <summary>
/// 发送消息的时间
/// </summary>
public DateTime Time
{
get { return _time; }
set { _time = value; }
}
private int _id;
/// <summary>
/// 短消息的ID号
/// </summary>
public int ID
{
get { return _id; }
set { _id = value; }
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -