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

📄 usermessinfo.cs

📁 电子商务网站转载而来[展开所有目录] [建议增加分类] (重要) 您上载的源码为何会被站长不采用或帐号被删除? 1.源码太简单 2.不是源码 3.缺少文件 4.所选类别和开发环境
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.Text;

namespace Model
{
    public class UserMessInfo
    {
        public int txtId;
        public string txtName = string.Empty;
        public string txtContent = string.Empty;
        public string txtDateTime = string.Empty;
        public UserMessInfo() { }
        public UserMessInfo(int nId,string nName, string nContent, string nDateTime)
        {
            this.txtId = nId;
            this.txtName = nName;
            this.txtContent = nContent;
            this.txtDateTime = nDateTime;
        
        }
        public UserMessInfo(string nName, string nContent, string nDateTime)
        {
            this.txtName = nName;
            this.txtContent = nContent;
            this.txtDateTime = nDateTime;

        }
        public int Id {

            get { return txtId; }
            set { txtId = value; }
        
        }
        public string Name {

            get { return txtName; }
            set { txtName = value; }
        
        }
        public string Content {

            get { return txtContent; }
            set { txtContent = value; }
        
        }
        public string DateTim {

            get { return txtDateTime; }
            set { txtDateTime = value; }
        
        }
    }
}

⌨️ 快捷键说明

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