using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace RoadFlow.Data.Model { [Serializable] public class Log { /// /// ID /// [DisplayName("ID")] public Guid ID { get; set; } /// /// 标题 /// [DisplayName("标题")] public string Title { get; set; } /// /// 类型 /// [DisplayName("类型")] public string Type { get; set; } /// /// 写入时间 /// [DisplayName("写入时间")] public DateTime WriteTime { get; set; } /// /// 用户ID /// [DisplayName("用户ID")] public string UserID { get; set; } /// /// 用户姓名 /// [DisplayName("用户姓名")] public string UserName { get; set; } /// /// IP /// [DisplayName("IP")] public string IPAddress { get; set; } /// /// 发生URL /// [DisplayName("发生URL")] public string URL { get; set; } /// /// 内容 /// [DisplayName("内容")] public string Contents { get; set; } /// /// Others /// [DisplayName("Others")] public string Others { get; set; } /// /// 更改前 /// [DisplayName("更改前")] public string OldXml { get; set; } /// /// 更改后 /// [DisplayName("更改后")] public string NewXml { get; set; } } }