using System.ComponentModel.DataAnnotations;
using MES.Service.Modes;
namespace MES.Service.Dto.service;
///
/// 销售退货检验单分页查询结果
///
public class THJPageResult
{
///
/// 主键ID
///
public decimal? Id { get; set; }
///
/// 检验单号
///
public string? ReleaseNo { get; set; }
///
/// 创建日期
///
public DateTime? CreateDate { get; set; }
///
/// 创建人
///
public string? CreateBy { get; set; }
///
/// 物料编码
///
public string? ItemNo { get; set; }
///
/// 物料名称
///
public string? ItemName { get; set; }
///
/// 规格型号
///
public string? ItemModel { get; set; }
///
/// 工单数量
///
public decimal? WorkQty { get; set; }
///
/// 检验人
///
public string? StatusUser { get; set; }
///
/// 检验结果
///
public string? Result { get; set; }
///
/// 退货单别
///
public string? ReturnType { get; set; }
///
/// 退货单号
///
public string? ReturnNo { get; set; }
///
/// 单据日期
///
public DateTime? BillDate { get; set; }
///
/// 客户名称
///
public string? CustomerName { get; set; }
///
/// 退货数量
///
public decimal? Sl { get; set; }
///
/// 退货原因
///
public string? ReturnReason { get; set; }
///
/// 不合格描述
///
public string? Remarks { get; set; }
// 分页参数
public int PageIndex { get; set; } = 1;
public int Limit { get; set; } = 20;
}
///
/// 销售退货检验单DTO
///
public class THJDto
{
///
/// 主表信息
///
public QsQaItemThj from { get; set; } = new();
///
/// 检验项目列表
///
public List items { get; set; } = new();
///
/// 检验结果列表
///
public List Results { get; set; } = new();
///
/// 用户编号
///
public string userNo { get; set; } = "";
///
/// 主表ID
///
public decimal? gid { get; set; }
///
/// 检验项目主表ID
///
public decimal? pid { get; set; }
///
/// 检验项目明细ID
///
public decimal? id { get; set; }
///
/// 备注
///
public string Remarks { get; set; } = "";
///
/// 检验项目主表信息
///
public QsQaItemThj01 ItemThj01 { get; set; } = new();
}
///
/// 退货单信息
///
public class ReturnwareInfo
{
///
/// 退货单别
///
public string? ReturnType { get; set; }
///
/// 退货单号
///
public string? ReturnNo { get; set; }
///
/// 单据日期
///
public DateTime? BillDate { get; set; }
///
/// 客户名称
///
public string? CustomerName { get; set; }
///
/// 业务人员
///
public string? BusinessBy { get; set; }
///
/// 物料编码
///
public string? ItemNo { get; set; }
///
/// 物料名称
///
public string? ItemName { get; set; }
///
/// 规格型号
///
public string? ItemModel { get; set; }
///
/// 数量
///
public decimal? Quantity { get; set; }
///
/// 退货仓库
///
public string? DepotCode { get; set; }
///
/// 备注
///
public string? Remarks { get; set; }
}