📄 comment.cs
字号:
using System;
namespace Common.Entities
{
public class Comment
{
private int commentID;
private int article;
private string name;
private string content;
private DateTime dateTimes;
//使用一个其它的对象,非数据库表
private string title;
public string Title
{
get { return title; }
set { title = value; }
}
public DateTime DateTimes
{
get { return dateTimes; }
set { dateTimes = value; }
}
public string Content
{
get { return content; }
set { content = value; }
}
public string Name
{
get { return name; }
set { name = value; }
}
public int Article
{
get { return article; }
set { article = value; }
}
public int CommentID
{
get { return commentID; }
set { commentID = value; }
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -