76 lines
2.0 KiB
C#
76 lines
2.0 KiB
C#
|
|
using System;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using SqlSugar;
|
|||
|
|
|
|||
|
|
namespace MyCode.Project.Domain.Model
|
|||
|
|
{
|
|||
|
|
///<summary>
|
|||
|
|
///
|
|||
|
|
///</summary>
|
|||
|
|
[SugarTable("api_log")]
|
|||
|
|
public partial class ApiLog
|
|||
|
|
{
|
|||
|
|
public ApiLog(){
|
|||
|
|
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
/// <summary>
|
|||
|
|
/// Desc:
|
|||
|
|
/// Default:
|
|||
|
|
/// Nullable:False
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(IsPrimaryKey=true,IsIdentity=true,ColumnName="id")]
|
|||
|
|
public long Id {get;set;}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Desc:
|
|||
|
|
/// Default:NULL
|
|||
|
|
/// Nullable:True
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(ColumnName="create_time")]
|
|||
|
|
public DateTime? CreateTime {get;set;}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Desc:
|
|||
|
|
/// Default:NULL
|
|||
|
|
/// Nullable:True
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(ColumnName="level")]
|
|||
|
|
public string Level {get;set;}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Desc:
|
|||
|
|
/// Default:NULL
|
|||
|
|
/// Nullable:True
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(ColumnName="message")]
|
|||
|
|
public string Message {get;set;}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Desc:2:小程序 3:公共接口 4:报表项目
|
|||
|
|
/// Default:0
|
|||
|
|
/// Nullable:False
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(ColumnName="api_type")]
|
|||
|
|
public int ApiType {get;set;}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Desc:是否解析了 0:否 1:是 2:处理过程中有异常 8:不需要处理
|
|||
|
|
/// Default:0
|
|||
|
|
/// Nullable:False
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(ColumnName="has_analysis")]
|
|||
|
|
public int HasAnalysis {get;set;}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Desc:处理结果
|
|||
|
|
/// Default:
|
|||
|
|
/// Nullable:True
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(ColumnName="handle_result")]
|
|||
|
|
public string HandleResult {get;set;}
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
}
|