Clean JSON output for NextPageData and CurrentPageData Normalize NextPageData & CurrentPageData formatting Fix JSON formatting for NextPageData and CurrentPageData Compact JSON for NextPageData and CurrentPageData
59 lines
1.5 KiB
C#
59 lines
1.5 KiB
C#
using System.Text.Json;
|
|
|
|
namespace SampleWorkflowWeb.Models
|
|
{
|
|
public class WorkflowModel
|
|
{
|
|
/// <summary>
|
|
/// شناسه گردش کار
|
|
/// <remark>
|
|
/// Type: Guid
|
|
/// </remark>
|
|
/// </summary>
|
|
public string? InstanceId { get; set; }
|
|
|
|
/// <summary>
|
|
/// نام گردش کار
|
|
/// </summary>
|
|
public string? Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// اتمام گردش کار؟
|
|
/// </summary>
|
|
public bool IsComplete { get; set; }
|
|
|
|
/// <summary>
|
|
/// برای کدام کاربر؟
|
|
/// </summary>
|
|
public long? UserId { get; set; }
|
|
|
|
/// <summary>
|
|
/// داده صفحه جاری
|
|
/// </summary>
|
|
public JsonElement? CurrentPageData { get; set; }
|
|
|
|
/// <summary>
|
|
/// داده صفحه بعد
|
|
/// <remark>
|
|
/// فعلا استفاده ای نداریم
|
|
/// </remark>
|
|
/// </summary>
|
|
public JsonElement? NextPageData { get; set; }
|
|
|
|
/// <summary>
|
|
/// آدرس صفحه بعدی
|
|
/// </summary>
|
|
public string? NextPageUrl { get; set; }
|
|
|
|
/// <summary>
|
|
/// رویدادی که باید پس از سابمیت صفحه بعدی منتشر شود
|
|
/// </summary>
|
|
public string? NextPageEventName { get; set; }
|
|
|
|
/// <summary>
|
|
/// کلید رویداد
|
|
/// </summary>
|
|
public string? NextPageEventKey { get; set; }
|
|
}
|
|
}
|