OpenAuth.Net/OpenAuth.Repository/Domain/SysLog.cs
yubaolee 9c2d044d12 增加雪花算法https://gitee.com/yitter/idgenerator
增加对数据库主键为numberic的支持
2021-03-13 16:21:56 +08:00

86 lines
2.5 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//------------------------------------------------------------------------------
// <autogenerated>
// 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
// </autogenerated>
//------------------------------------------------------------------------------
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core;
namespace OpenAuth.Repository.Domain
{
/// <summary>
/// 系统日志
/// </summary>
[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;
}
/// <summary>
/// 日志内容
/// </summary>
[Description("日志内容")]
public string Content { get; set; }
/// <summary>
/// 分类名称
/// </summary>
[Description("分类名称")]
public string TypeName { get; set; }
/// <summary>
/// 分类ID
/// </summary>
[Description("分类ID")]
public string TypeId { get; set; }
/// <summary>
/// 操作所属模块地址
/// </summary>
[Description("操作所属模块地址")]
public string Href { get; set; }
/// <summary>
/// 记录时间
/// </summary>
[Description("记录时间")]
public System.DateTime CreateTime { get; set; }
/// <summary>
/// 操作人ID
/// </summary>
[Description("操作人ID")]
public string CreateId { get; set; }
/// <summary>
/// 操作人
/// </summary>
[Description("操作人")]
public string CreateName { get; set; }
/// <summary>
/// 操作机器的IP地址
/// </summary>
[Description("操作机器的IP地址")]
public string Ip { get; set; }
/// <summary>
/// 操作的结果0成功1失败
/// </summary>
[Description("操作的结果0成功1失败")]
public int Result { get; set; }
public string Application { get; set; }
}
}