demo20230512/Models/ActionLog.cs

25 lines
866 B
C#
Raw Permalink Normal View History

2023-05-12 10:20:28 +08:00
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; }
}
}