📄 comment.cs
字号:
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
/// <summary>
/// Comment 评论类
/// </summary>
public class Comment
{
private int commentid;
private string userid;
private int bookid;
private DateTime commenttime;
private string commentcontext;
private string caption;
public Comment(int commentid,string userid,int bookid,DateTime commenttime,string commentcontext,string caption)
{
this.commentid = commentid;
this.userid = userid;
this.bookid = bookid;
this.commenttime = commenttime;
this.commentcontext = commentcontext;
this.caption = caption;
}
public int CommentID { get { return commentid; } }
public string UserID { get { return userid; } }
public int BookID { get { return bookid; } }
public DateTime CommentTime { get { return commenttime; } }
public string CommentContext { get { return commentcontext; } }
public string Caption { get { return caption; } }
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -