将日志分表存储 任务表 接口表 操作表
This commit is contained in:
1 parent
405f7f0872
commit
6d4b220933
9 files changed
+151
-20
No files matched your search
@@ -0,0 +1,58 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace WalkingTec.Mvvm.Core
|
||||
{
|
||||
/// <summary>
|
||||
/// JobLog
|
||||
/// </summary>
|
||||
[Table("JobLogs")]
|
||||
public class JobLog : BasePoco,ITenant
|
||||
{
|
||||
[Display(Name = "_Admin.Module")]
|
||||
[StringLength(255, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string ModuleName { get; set; }
|
||||
|
||||
[Display(Name = "_Admin.Action")]
|
||||
[StringLength(255, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string ActionName { get; set; }
|
||||
|
||||
[Display(Name = "_Admin.Account")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string ITCode { get; set; }
|
||||
|
||||
[Display(Name = "Url")]
|
||||
[StringLength(250, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string ActionUrl { get; set; }
|
||||
|
||||
[Display(Name = "_Admin.ActionTime")]
|
||||
public DateTime ActionTime { get; set; }
|
||||
|
||||
[Display(Name = "_Admin.Duration")]
|
||||
public double Duration { get; set; }
|
||||
|
||||
[Display(Name = "_Admin.Remark")]
|
||||
public string Remark { get; set; }
|
||||
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
[Display(Name = "IP")]
|
||||
public string IP { get; set; }
|
||||
|
||||
[Display(Name = "_Admin.LogType")]
|
||||
public ActionLogTypesEnum LogType { get; set; }
|
||||
[Display(Name = "_Admin.Tenant")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string TenantCode { get; set; }
|
||||
|
||||
[Display(Name = "_Admin.Request")]
|
||||
public string Request { get; set; }
|
||||
|
||||
[Display(Name = "_Admin.Response")]
|
||||
public string Result { get; set; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user