using HH.WMS.Common.External;
|
using HH.WMS.Common.Response;
|
using HH.WMS.Entitys.External;
|
using HH.WMS.Entitys.MoveStock;
|
using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace HH.WMS.Common.Para
|
{
|
public class MoveStockJobPara
|
{
|
public MoveStockJobPara()
|
{
|
BasisResponse = BasisResponse.Normal();
|
OkTasks = new List<OkTask>();
|
}
|
public BasisResponse BasisResponse { get; set; }
|
|
public TN_WM_MOVE_STOCK_TASK_MSTEntity MoveStockMst { get; set; }
|
|
public List<TN_WM_MOVE_STOCK_TASK_DTLEntity> MoveStockDtls { get; set; }
|
|
public List<OkTask> OkTasks { get; set; }
|
|
public string StartLocation { get; set; }
|
|
public string EndLocation { get; set; }
|
|
public string TrayCode { get; set; }
|
|
public MoveStockJobPara Error(string message, LogPara logPara)
|
{
|
Log.Detail(logPara, message);
|
BasisResponse = BasisResponse.Error(message);
|
return this;
|
}
|
|
public MoveStockJobPara Normal()
|
{
|
BasisResponse = BasisResponse.Normal();
|
return this;
|
}
|
}
|
}
|