📄 audititem.cs
字号:
//------------------------------------------------------------------------------
// <copyright company="Telligent Systems">
// Copyright (c) Telligent Systems Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
using System;
using CommunityServer.Components.Enumerations;
namespace CommunityServer.Components {
/// <summary>
/// This class encapsulates the an audit entry.
/// </summary>
public class AuditItem {
#region Members
ModeratorActions action;
int postID = -1;
int userID = -1;
string userName = "";
int sectionID = -1;
int moderatorID = -1;
string moderatorName = "";
DateTime dateModerated = DateTime.MinValue;
string notes = "";
#endregion
#region Properties
public ModeratorActions Action {
get { return action; }
set { action = value; }
}
public int PostID {
get { return postID; }
set { postID = value; }
}
public int UserID {
get { return userID; }
set { userID = value; }
}
public string UserName {
get { return userName; }
set { userName = value; }
}
public int SectionID {
get { return sectionID; }
set { sectionID = value; }
}
public int ModeratorID {
get { return moderatorID; }
set { moderatorID = value; }
}
public string ModeratorName {
get { return moderatorName; }
set { moderatorName = value; }
}
public DateTime DateModerated {
get { return dateModerated; }
set { dateModerated = value; }
}
public string Notes {
get { return notes; }
set { notes = value; }
}
#endregion
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -