You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
1.5 KiB
C#

using DS.Module.Core;
using DS.WMS.Core.Application.Dtos;
using DS.WMS.Core.Op.Entity;
namespace DS.WMS.Core.Fee.Dtos
{
/// <summary>
3 months ago
/// 审核请求基类
/// </summary>
public class AuditRequestBase
{
/// <summary>
/// 审核结果1=通过2=驳回
/// </summary>
public int Result { get; set; }
/// <summary>
/// 审批备注
/// </summary>
public string? Remark { get; set; }
}
/// <summary>
3 months ago
/// 按查询条件审核
/// </summary>
public class AuditConditionRequest: AuditRequestBase
{
/// <summary>
/// 查询条件,可空
/// </summary>
public string? QueryString { get; set; }
}
/// <summary>
/// 按业务类型一致的审核请求
/// </summary>
public class AuditRequest : AuditRequestBase
{
/// <summary>
/// 审批的ID
/// </summary>
public long[] Ids { get; set; } = [];
/// <summary>
/// 业务类型
/// </summary>
public BusinessType? BusinessType { get; set; }
6 months ago
}
/// <summary>
3 months ago
/// 不同业务类型的审核请求
/// </summary>
public class BizAuditRequest : AuditRequestBase
6 months ago
{
public string? QueryCondition { get; set; }
5 months ago
public List<BizItem> Items { get; set; }
6 months ago
}
5 months ago
public class AuditDetailRequest : BizItem
{
public string? QueryCondition { get; set; }
public bool AuditOnly { get; set; }
}
}