Files
2023-03-13 15:00:34 +08:00

63 lines
1.4 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using JNPF.DependencyInjection;
namespace JNPF.WorkFlow.Entitys.Model.Conifg;
[SuppressSniffer]
public class TimeOutConfig
{
/// <summary>
/// 0关闭 1自定义 2同步发起配置.
/// </summary>
public int on { get; set; } = 0;
/// <summary>
/// 起始时间类型0接收时间 1发起时间 2表单变量.
/// </summary>
public int nodeLimit { get; set; } = 0;
/// <summary>
/// 表单字段.
/// </summary>
public string? formField { get; set; }
/// <summary>
/// 处理限定时长默认24小时.
/// </summary>
public int duringDeal { get; set; } = 24;
/// <summary>
/// 第一次触发时长.
/// </summary>
public int firstOver { get; set; } = 0;
/// <summary>
/// 间隔.
/// </summary>
public int overTimeDuring { get; set; } = 2;
/// <summary>
/// 通知.
/// </summary>
public bool overNotice { get; set; }
/// <summary>
/// 事件.
/// </summary>
public bool overEvent { get; set; }
/// <summary>
/// 事件触发次数.
/// </summary>
public int overEventTime { get; set; } = 5;
/// <summary>
/// 自动审批.
/// </summary>
public bool overAutoApprove { get; set; }
/// <summary>
/// 自动审批触发次数.
/// </summary>
public int overAutoApproveTime { get; set; } = 5;
}