Add InstanceMode and PageNumber to WorkflowModel

This commit is contained in:
Behzad Alizadeh
2026-01-07 17:06:40 +03:30
parent ccb3a24758
commit 23cbb88f2d
4 changed files with 621 additions and 590 deletions
@@ -1,4 +1,9 @@
using System.Text.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using JetBrains.Annotations;
namespace Caspian.WorkflowFramework.Models;
@@ -10,6 +15,14 @@ public class WorkflowModel
/// </summary>
public string? InstanceId { get; set; }
/// <summary>
/// نوع نمونه
/// <remark>
/// exist, new, ...
/// </remark>
/// </summary>
public string? InstanceMode { get; set; } = "exist";
/// <summary>
/// نام گردش کار
/// </summary>
@@ -43,6 +56,11 @@ public class WorkflowModel
/// </summary>
public string? NextPageUrl { get; set; }
/// <summary>
/// شماره صفحه
/// </summary>
public int? PageNumber { get; set; }
/// <summary>
/// رویدادی که باید پس از سابمیت صفحه بعدی منتشر شود
/// </summary>