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

📄 class1.cs

📁 ajax 三层软件开发实例,三层软件开发实例
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.Text;

namespace Model
{
    public class guestbook //留言本实体类
    {
        private string _id, _name, _ip, _content, _email, _pic, _recontent;
        DateTime _time;

        #region 设置属性
        //id
        public string Id
        {
            get { return _id; }
            set { _id = value; }
        }
        //网名
        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        //时间
        public DateTime  Time
        {
            get { return _time; }
            set { _time = value; }
        }

        //IP地址
        public string Ip
        {
            get { return _ip; }
            set { _ip = value; }
        }

        //留言内容
        public string Content
        {
            get { return _content; }
            set { _content = value; }
        }

        //电子信箱
        public string Email
        {
            get { return _email; }
            set { _email = value; }
        }

        //头像
        public string Pic
        {
            get { return _pic; }
            set { _pic = value; }
        }

        //回复内容
        public string Recontent
        {
            get { return _recontent; }
            set { _recontent = value; }
        }
        #endregion

    }
}

⌨️ 快捷键说明

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