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