?? class1.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 + -