comment.cs
来自「入门级asp.netC#网站三层系统开发」· CS 代码 · 共 59 行
CS
59 行
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 + =
减小字号Ctrl + -
显示快捷键?