Files
WMS-Api/src/WMS.Web.Core/Dto/Erp/ErpBillQueryParamDto.cs
2023-10-28 08:57:10 +08:00

56 lines
1.8 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 System;
using System.Collections.Generic;
using System.Text;
namespace WMS.Web.Core.Dto.Erp
{
/// <summary>
/// ERP单据查询-参数-dto
/// </summary>
public class ErpBillQueryParamDto
{
public ErpBillQueryParamDto() { }
public ErpBillQueryParamDto(string formId)
{
this.FormId = formId;
}
/// <summary>
/// 业务对象表单Id必录
/// </summary>
public string FormId { get; set; }
/// <summary>
/// 需查询的字段key集合字符串类型格式"key1,key2,..."(必录) 注(查询单据体内码,需加单据体Key和下划线,如FEntryKey_FEntryId
/// </summary>
public string FieldKeys { get; set; }
/// <summary>
/// 过滤条件,数组类型,如:[{"Left":"(","FieldName":"Field1","Compare":"=","Value":"111","Right":")","Logic":"AND"},{"Left":"(","FieldName":"Field2","Compare":"=","Value":"222","Right":")","Logic":""}]
/// </summary>
public string FilterString { get; set; }
/// <summary>
/// 排序字段,字符串类型(非必录)
/// </summary>
public string OrderString { get; set; }
/// <summary>
/// 返回总行数,整型(非必录)
/// </summary>
public int TopRowCount { get; set; }
/// <summary>
/// 开始行索引,整型(非必录)
/// </summary>
public int StartRow { get; set; } = 0;
/// <summary>
/// 最大行数整型不能超过10000非必录
/// </summary>
public int Limit { get; set; } = 1;
/// <summary>
/// 表单所在的子系统内码,字符串类型(非必录)
/// </summary>
public string SubSystemId { get; set; }
}
}