25 lines
866 B
C#
25 lines
866 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using Resources;
|
|
|
|
namespace Weee.Models
|
|
{
|
|
public class ActionLog
|
|
{
|
|
public int ID { get; set; }
|
|
[Display(Name = "User", ResourceType = typeof(Resource))]
|
|
public string Name { get; set; }
|
|
[Display(Name = "Module", ResourceType = typeof(Resource))]
|
|
public string Controller { get; set; }
|
|
[Display(Name = "Action", ResourceType = typeof(Resource))]
|
|
public string Action { get; set; }
|
|
public string IP { get; set; }
|
|
[Display(Name = "Time", ResourceType = typeof(Resource))]
|
|
public DateTime ActionTime { get; set; }
|
|
[Display(Name = "ExecutionResults", ResourceType = typeof(Resource))]
|
|
public string ExecuteResult { get; set; }
|
|
}
|
|
} |