namespace Tnb.ProductionMgr.Entities.Dto.PrdManage
{
///
/// 工单追溯一级列表输出类
///
public class PrdMoFromOneListOutput
{
///
/// 工单id
///
public string id { get; set; }
public string mo_code { get; set; }
public string material_id { get; set; }
public string material_code { get; set; }
public string material_name { get; set; }
public string? material_standard { get; set; }
public string? act_start_date { get; set; }
public string? act_end_date { get; set; }
///
/// 类型 1注塑挤出 2 组装包装
///
public int type { get; set; }
}
///
/// 工单追溯二级列表输出类
///
public class PrdMoFromTwoListOutput
{
///
/// 任务单id
///
public string id { get; set; }
public string mo_task_code { get; set; }
public string material_id { get; set; }
public string material_code { get; set; }
public string material_name { get; set; }
public string? material_standard { get; set; }
public string? act_start_date { get; set; }
public string? act_end_date { get; set; }
public string? workline_name { get; set; }
public string? workshop_name { get; set; }
public string? mbom_version { get; set; }
public string station_name { get; set; }
public string equip_code { get; set; }
}
///
/// 工单追溯三级列表输出类
///
public class PrdMoFromThreeListOutput
{
///
/// 任务单id
///
public string id { get; set; }
public string mo_task_code { get; set; }
public string material_id { get; set; }
public string material_code { get; set; }
public string material_name { get; set; }
public string? workline_id { get; set; }
public string? batch { get; set; }
public string process_id { get; set; }
public string process_name { get; set; }
public string station_name { get; set; }
}
///
/// 工单追溯人输出类
///
public class PrdMoFromManListOutput
{
// ///
// /// 提报id
// ///
// public string id { get; set; }
//
// public string workgroup_name { get; set; }
public string employee_name { get; set; }
public string work_time { get; set; }
public DateTime? start_time { get; set; }
public DateTime? end_time { get; set; }
}
///
/// 工单追溯机输出类
///
public class PrdMoFromEquipListOutput
{
public string equip_code { get; set; }
public string mold_code { get; set; }
}
///
/// 工单追溯料输出类
///
public class PrdMoFromMaterialListOutput
{
public string material_code { get; set; }
public string material_name { get; set; }
public string batch { get; set; }
public string supplier_name { get; set; }
public string instock_time { get; set; }
public string feeding_time { get; set; }
public string check_conclusion { get; set; }
}
public class PrdMoReverseFromMaterialoutput
{
///
/// 物料ID
///
public string material_id { get; set; }
///
/// 物料编号
///
public string material_code { get; set; }
///
/// 物料名称
///
public string material_name { get; set; }
///
/// 物料规格
///
public string material_standard { get; set; }
///
/// 批次
///
public string code_batch { get; set; }
///
/// 采购单号
///
public string purchase_code { get; set; }
///
/// 供应商
///
public string supplier_id { get; set; }
///
/// 条码数量
///
public decimal barcode_qty { get; set; }
///
/// 单位ID
///
public string unit_id { get; set; }
///
/// 入库单号
///
public string in_bill_code { get; set; }
///
/// 入库时间
///
public DateTime instock_time { get; set; }
///
/// 出库单号
///
public string out_bill_code { get; set; }
///
/// 出库时间
///
public DateTime? outstock_time { get; set; }
///
/// 仓库ID
///
public string warehouse_id { get; set; }
///
/// 仓库名称
///
public string warehouse_name { get; set; }
///
/// 库位ID
///
public string location_id { get; set; }
///
/// 库位编号
///
public string location_code { get; set; }
///
/// 已投数量
///
public decimal feeding_num { get; set; }
///
/// 使用状态
///
public string use_status { get; set; }
public string supplier_name { get; set; }
public string unit_name { get; set; }
}
///
/// 物料反向追溯投料信息输出父类
///
public class PrdMoReverseFromFeedingOutput
{
public string mo_task_id { get; set; }
public string mo_task_code { get; set; }
public string mo_code { get; set; }
public string material_code { get; set; }
public string material_name { get; set; }
public string material_standard { get; set; }
public List children { get; set; } = new List();
}
///
/// 物料反向追溯投料信息输出字类
///
public class PrdMoReverseFromFeedingDetailOutput
{
///
/// 投料子表id
///
public string feeding_detail_id { get; set; }
public string mo_task_code { get; set; }
public string feeding_time { get; set; }
public decimal num { get; set; }
public string check_conclusion { get; set; }
public string feeding_name { get; set; }
public string station_name { get; set; }
public string process_name { get; set; }
}
public class PrdMoReverseFromOutput
{
///
/// 物料ID
///
public string material_id { get; set; }
///
/// 物料编号
///
public string material_code { get; set; }
///
/// 物料编号
///
public string material_name { get; set; }
/// 条码数量
///
public decimal barcode_qty { get; set; }
///
/// 批次
///
public string code_batch { get; set; }
///
/// 单位ID
///
public string unit_id { get; set; }
///
/// 入库单号
///
public string in_bill_code { get; set; }
///
/// 入库时间
///
public DateTime instock_time { get; set; }
///
/// 出库单号
///
public string out_bill_code { get; set; }
///
/// 出库时间
///
public DateTime? outstock_time { get; set; }
///
/// 仓库ID
///
public string warehouse_id { get; set; }
///
/// 仓库名称
///
public string warehouse_name { get; set; }
///
/// 库位ID
///
public string location_id { get; set; }
///
/// 库位编号
///
public string location_code { get; set; }
///
/// 物料状态
///
public string material_status { get; set; }
///
/// 销售出库单号
///
public string sale_outstock_code { get; set; }
///
/// 客户名称
///
public string customer_name { get; set; }
///
/// 发货时间
///
public string delivery_time { get; set; }
}
}