using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;
using DataEntity;
using SqlSugar;
namespace XImagingXhandler.XDAL
{
///
/// 操作日志
///
[SugarTable("t_operateauditlog")]
public class OperateAuditLog : IEntity
{
///
/// 列表显示时索引值
///
[SugarColumn(IsIgnore = true, IsOnlyIgnoreInsert = true, IsOnlyIgnoreUpdate = true)]
public int Index { get; set; }
///
/// 操作审计日志ID
///
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true)]
public string Id { get; set; }
///
/// 操作类型(添加、修改、删除)
///
[SugarColumn(ColumnName = "OperateType")]
public string OperateType { get; set; }
///
/// 操作内容
///
[SugarColumn(ColumnName = "OperateContent")]
public string OperateContent { get; set; }
///
/// 创建人
///
[SugarColumn(ColumnName = "CreateName")]
public string CreateName { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnName = "CreateTime")]
public DateTime CreateTime { get; set; }
///
/// 流程模板主键ID
///
[SugarColumn(ColumnName = "WorkflowTemplateId")]
public string WorkflowTemplateId { get; set; }
///
/// 操作前内容
///
[SugarColumn(ColumnName = "SourceContent")]
public string SourceContent { get; set; }
///
/// 操作后内容
///
[SugarColumn(ColumnName = "TargetContent")]
public string TargetContent { get; set; }
///
/// 操作对象
///
[SugarColumn(ColumnName = "OperateObject")]
public string OperateObject { get; set; }
///
/// 操作结果:成功;失败
///
[SugarColumn(ColumnName = "OperateResult")]
public string OperateResult { get; set; }
}
}