⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 message.cs

📁 will let you know the result once they replied will let you know the result once they replied
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.Text;

namespace MyOffice.Models
{

    [Serializable()]
    public class Message
    {

        private int messageID;
        private string title = String.Empty;
        private string content = String.Empty;
        private int type;
        private DateTime beginTime;
        private DateTime endTime;
        private int fromUserId;
        private int ifPublish;
        private DateTime recordTime;



        public Message() { }




        public int MessageID
        {
            get { return this.messageID; }
            set { this.messageID = value; }
        }





        public string Title
        {
            get { return this.title; }
            set { this.title = value; }
        }


        public string Content
        {
            get { return this.content; }
            set { this.content = value; }
        }


        public int Type
        {
            get { return this.type; }
            set { this.type = value; }
        }


        public DateTime BeginTime
        {
            get { return this.beginTime; }
            set { this.beginTime = value; }
        }


        public DateTime EndTime
        {
            get { return this.endTime; }
            set { this.endTime = value; }
        }


        public int FromUserId
        {
            get { return this.fromUserId; }
            set { this.fromUserId = value; }
        }


        public int IfPublish
        {
            get { return this.ifPublish; }
            set { this.ifPublish = value; }
        }


        public DateTime RecordTime
        {
            get { return this.recordTime; }
            set { this.recordTime = value; }
        }

    }
}

⌨️ 快捷键说明

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