namespace Admin.NET.Plugin.AiDOP.MaterialWarehouse.Dto;
///
/// 来料检验申请列表 查询入参(只读)。
/// 仅承载 qms_qcp_inspecapplyn 表内可直接真实渲染的字段对应的查询条件。
///
public class IncomingInspectionApplicationListInput
{
/// 页码(从 1 开始)
public int Page { get; set; } = 1;
/// 每页条数
public int PageSize { get; set; } = 10;
/// 单据编号(FBILLNO,模糊匹配)
public string? BillNo { get; set; }
/// 申请时间起(FAPPLYTIME,含当日,格式 yyyy-MM-dd)
public string? ApplyTimeStart { get; set; }
/// 申请时间止(FAPPLYTIME,含当日,格式 yyyy-MM-dd)
public string? ApplyTimeEnd { get; set; }
/// 排序字段(前端列 prop:fBillNo / fApplyTime)
public string? SortField { get; set; }
/// 排序方向(asc / desc)
public string? SortOrder { get; set; }
}
///
/// 来料检验申请列表 行(只读)。
/// 一期仅暴露库内可直接真实渲染的字段:单据编号 / 单据类型(原值) / 申请时间 / 备注。
/// 不含 FORGID / FBIZTYPE / FAPPLYUSER —— 其名称解析源(bos_org / qcbd_biztype / bos_user)
/// 当前不在 aidopdev,不做脑补 join、不显示裸 ID。
///
public class IncomingInspectionApplicationListRow
{
/// 主键 id(qms_qcp_inspecapplyn.id)
public long Id { get; set; }
/// 单据编号(FBILLNO)
public string? FBillNo { get; set; }
/// 单据类型(FBILLTYPE,库内原值)
public string? FBillType { get; set; }
/// 申请时间(FAPPLYTIME)
public DateTime? FApplyTime { get; set; }
/// 备注(FCOMMENT)
public string? FComment { get; set; }
}