using System.Collections.Generic;
namespace Learun.Application.WorkFlow
{
///
/// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园
/// Copyright (c) 2013-2018 北京泉江科技有限公司
/// 创建人:陈彬彬
/// 日 期:2017.04.17
/// 描 述:工作流节点
///
public class WfNodeInfo
{
///
/// 节点Id
///
public string id { get; set; }
///
/// 节点名称
///
public string name { get; set; }
///
/// 节点类型-》开始startround;结束endround;一般stepnode;会签节点:confluencenode;条件判断节点:conditionnode;查阅节点:auditornode;子流程节点:childwfnode
///
public string type { get; set; }
/*节点设置信息*/
///
/// 超时时间(超时后可流转下一节点)默认24小时
///
public int timeoutAction { get; set; }
///
/// 超时时间(发出通知)默认24小时
///
public int timeoutNotice { get; set; }
///
/// 会签策略1-所有步骤通过,2-一个步骤通过即可,3-按百分比计算
///
public int confluenceType { get; set; }
///
/// 会签比例
///
public string confluenceRate { get; set; }
///
/// 审核者们
///
public List auditors { get; set; }
///
/// 字段权限数据
///
public List authorizeFields { get; set; }
///
/// 节点绑定的表单
///
public List wfForms { get; set; }
///
/// 绑定的方法(通过ioc注册实现)
///
public string iocName { get; set; }
///
/// 成功后需要执行的sql语句对应的数据库主键
///
public string dbSuccessId { get; set; }
///
/// 成功后需要执行的sql语句
///
public string dbSuccessSql { get; set; }
///
/// 驳回后需要执行的sql语句对应的数据库主键
///
public string dbFailId { get; set; }
///
/// 驳回后需要执行的sql语句
///
public string dbFailSql { get; set; }
#region 会签
///
/// 绑定的方法(通过ioc注册实现)会签
///
public string cfIocName { get; set; }
///
/// 会签后需要执行的sql语句对应的数据库主键
///
public string cfDbId { get; set; }
///
/// 会签后需要执行的sql语句
///
public string cfDbSql { get; set; }
///
/// 会签结果
///
public bool cfres { get; set; }
#endregion
#region 条件判断
///
/// 工作流条件节点-条件字段(优先执行)
///
public List conditions { get; set; }
///
/// 条件判断sql语句所在数据库主键
///
public string dbConditionId { get; set; }
///
/// 条件判断sql语句
///
public string conditionSql { get; set; }
#endregion
}
}