59 lines
1.8 KiB
C#
59 lines
1.8 KiB
C#
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; }
|
|
|
|
}
|
|
|
|
|
|
}
|