📄 message.cs
字号:
using System;
using System.Collections.Generic;
using System.Text;
namespace ChatModel
{
public class Message
{
private int _ID;
public int ID
{
get { return _ID; }
set { _ID = value; }
}
private User _sendTo;
public User sendTo
{
get { return _sendTo; }
set { _sendTo = value; }
}
private User _fromTo;
public User fromTo
{
get { return _fromTo; }
set { _fromTo = value; }
}
private string _content;
public string content
{
get { return _content; }
set { _content = value; }
}
private DateTime _timer;
public DateTime timer
{
get { return _timer; }
set { _timer = value; }
}
private int _isPublic;
public int isPublic
{
get { return _isPublic; }
set { _isPublic = value; }
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -