OpenAuth.Net/OpenAuth.App/Flow/FlowNode.cs

55 lines
1.2 KiB
C#
Raw Normal View History

2018-03-21 17:36:31 +08:00
namespace OpenAuth.App.Flow
2018-03-20 23:15:09 +08:00
{
2018-03-21 17:36:31 +08:00
/// <summary>
/// 流程节点
/// </summary>
2018-03-20 23:15:09 +08:00
public class FlowNode
{
public const string START = "start round mix";
public const string END = "end round";
public const string NODE = "node";
public string id { get; set; }
public string name { get; set; }
public string type { get; set; }
2018-03-21 17:36:31 +08:00
/// <summary>
/// 节点的附加数据项
/// </summary>
/// <value>The set information.</value>
public Setinfo setInfo { get; set; }
2018-03-23 17:47:44 +08:00
public FlowNode()
{
setInfo = new Setinfo();
}
2018-03-21 17:36:31 +08:00
}
public class Setinfo
{
public Nodedesignatedata NodeDesignateData { get; set; }
public string NodeCode { get; set; }
public string NodeName { get; set; }
2018-03-23 17:47:44 +08:00
public Setinfo()
{
NodeDesignateData = new Nodedesignatedata();
}
2018-03-20 23:15:09 +08:00
}
2018-03-21 17:36:31 +08:00
/// <summary>
/// 节点执行人
/// </summary>
public class Nodedesignatedata
{
public string[] users { get; set; }
public string[] role { get; set; }
public string[] org { get; set; }
}
2018-03-20 23:15:09 +08:00
}