Files
Gatedge.NewOrientLandMark.BOS/Gatedge.K3Cloud.Utils/Model/K3Request/Audit.cs
liqionghai d758497f93 1
2025-11-18 17:43:12 +08:00

65 lines
1.9 KiB
C#
Raw 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 Newtonsoft.Json;
namespace Gatedge.K3Cloud.Utils.Model.K3Request
{
/// <summary>
/// 单据审核
/// </summary>
public class Audit
{
/// <summary>
/// 单据内码
/// </summary>
public string? Ids { get; set; }
/// <summary>
/// 组织ID
/// </summary>
public int CreateOrgId { get; set; }
/// <summary>
/// 单据编码
/// </summary>
public string[]? Numbers { get; set; }
/// <summary>
/// 是否启用网控布尔类型默认false非必录
/// </summary>
public bool? NetworkCtrl { get; set; } = false;
/// <summary>
/// 交互标志集合,字符串类型,分号分隔,格式:"flag1;flag2;..."(非必录) 例如允许负库存标识STK_InvCheckResult
/// </summary>
public string? InterationFlags { get; set; }
/// <summary>
/// 是否允许忽略交互布尔类型默认true非必录
/// </summary>
public bool? IgnoreInterationFlag { get; set; } = true;
/// <summary>
/// 是否检验单据关联运行中的工作流实例布尔类型默认true非必录
/// </summary>
public bool? IsVerifyProcInst { get; set; } = true;
/// <summary>
/// 是否应用单据参数设置分批处理默认false
/// </summary>
public bool? UseBatControlTimes { get; set; } = false;
/// <summary>
/// 重写
/// </summary>
/// <returns></returns>
public override string ToString()
{
var settings = new JsonSerializerSettings
{
NullValueHandling = NullValueHandling.Ignore
};
return JsonConvert.SerializeObject(this, settings);
}
}
}