message.cs

来自「一个 用Ajax实现聊天室的简单例子 不全的地方指点」· CS 代码 · 共 60 行

CS
60
字号
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 + =
减小字号Ctrl + -
显示快捷键?