|
|
using SqlSugar;
|
|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
using System.Linq;
|
|
|
using System.Text;
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
namespace OpenAuth.Repository.Domain
|
|
|
{
|
|
|
[SugarTable("wf_tasklog")]
|
|
|
public class WFTaskLog
|
|
|
{
|
|
|
#region 实体成员
|
|
|
/// <summary>
|
|
|
/// 主键
|
|
|
/// </summary>
|
|
|
[SugarColumn(IsPrimaryKey = true)]
|
|
|
public string Id { get; set; }
|
|
|
/// <summary>
|
|
|
/// 流程进程主键
|
|
|
/// </summary>
|
|
|
public string ProcessId { get; set; }
|
|
|
/// <summary>
|
|
|
/// 流程任务主键
|
|
|
/// </summary>
|
|
|
public string TaskId { get; set; }
|
|
|
/// <summary>
|
|
|
/// 任务 token
|
|
|
/// </summary>
|
|
|
public string Token { get; set; }
|
|
|
/// <summary>
|
|
|
/// 操作码 create创建 agree 同意 disagree 不同意 timeout 超时
|
|
|
/// </summary>
|
|
|
public string OperationCode { get; set; }
|
|
|
/// <summary>
|
|
|
/// 操作名称
|
|
|
/// </summary>
|
|
|
public string OperationName { get; set; }
|
|
|
/// <summary>
|
|
|
/// 0.创建流程 1.审核任务 2传阅任务 3.子流程 4.重新创建 5会签任务 10.脚本任务 21.等待任务(系统自己完成)22.取消等待任务 23.找不到审核人直接跳过 24.自动审核规则跳过 25.会签任务记录 98 催办任务 99 脚本执行异常任务 100 脚本执行任务正常 101 转移任务
|
|
|
/// </summary>
|
|
|
public int? TaskType { get; set; }
|
|
|
/// <summary>
|
|
|
/// 审核是否同意 1 是 0 不是
|
|
|
/// </summary>
|
|
|
public int? IsAgree { get; set; }
|
|
|
/// <summary>
|
|
|
/// 流程节点ID
|
|
|
/// </summary>
|
|
|
public string UnitId { get; set; }
|
|
|
/// <summary>
|
|
|
/// 流程节点名称
|
|
|
/// </summary>
|
|
|
public string UnitName { get; set; }
|
|
|
/// <summary>
|
|
|
/// 上一流程节点ID
|
|
|
/// </summary>
|
|
|
public string PrevUnitId { get; set; }
|
|
|
/// <summary>
|
|
|
/// 上一流程节点名称
|
|
|
/// </summary>
|
|
|
public string PrevUnitName { get; set; }
|
|
|
/// <summary>
|
|
|
/// 创建时间
|
|
|
/// </summary>
|
|
|
public DateTime? CreateDate { get; set; }
|
|
|
/// <summary>
|
|
|
/// 任务人Id
|
|
|
/// </summary>
|
|
|
public string UserId { get; set; }
|
|
|
/// <summary>
|
|
|
/// 任务人名称
|
|
|
/// </summary>
|
|
|
public string UserName { get; set; }
|
|
|
/// <summary>
|
|
|
/// 备注信息
|
|
|
/// </summary>
|
|
|
public string Des { get; set; }
|
|
|
/// <summary>
|
|
|
/// 盖章图片
|
|
|
/// </summary>
|
|
|
public string StampImg { get; set; }
|
|
|
/// <summary>
|
|
|
/// 是否允许撤销 1 允许 0 不允许
|
|
|
/// </summary>
|
|
|
public int? IsCancel { get; set; }
|
|
|
/// <summary>
|
|
|
/// 是否是最近一次处理 1.是 0 不是
|
|
|
/// </summary>
|
|
|
public int? IsLast { get; set; }
|
|
|
#endregion
|
|
|
}
|
|
|
}
|