//------------------------------------------------------------------------------ // // This code was generated by a CodeSmith Template. // // DO NOT MODIFY contents of this file. Changes to this // file will be lost if the code is regenerated. // Author:Yubao Li // //------------------------------------------------------------------------------ using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; using OpenAuth.Repository.Core; namespace OpenAuth.Repository.Domain { /// /// 系统日志 /// [Table("SysLog")] public partial class SysLog : StringEntity { public SysLog() { this.Content= string.Empty; this.TypeName= string.Empty; this.TypeId= string.Empty; this.Href= string.Empty; this.CreateTime= DateTime.Now; this.CreateId= string.Empty; this.CreateName= string.Empty; this.Ip= string.Empty; this.Application = string.Empty; this.Result= 0; } /// /// 日志内容 /// [Description("日志内容")] public string Content { get; set; } /// /// 分类名称 /// [Description("分类名称")] public string TypeName { get; set; } /// /// 分类ID /// [Description("分类ID")] public string TypeId { get; set; } /// /// 操作所属模块地址 /// [Description("操作所属模块地址")] public string Href { get; set; } /// /// 记录时间 /// [Description("记录时间")] public System.DateTime CreateTime { get; set; } /// /// 操作人ID /// [Description("操作人ID")] public string CreateId { get; set; } /// /// 操作人 /// [Description("操作人")] public string CreateName { get; set; } /// /// 操作机器的IP地址 /// [Description("操作机器的IP地址")] public string Ip { get; set; } /// /// 操作的结果:0:成功;1:失败; /// [Description("操作的结果:0:成功;1:失败;")] public int Result { get; set; } public string Application { get; set; } } }