using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using wms.dto.request.pt.dto;
namespace WMS.BZModels.Dto.FJ.ReportDtos
{
public class StatisticsDto
{
public int? Type { get; set; }
public string TypeName
{
get
{
var result = "";
if (Type != null && Type.HasValue)
{
result = ((TaskType)Type.Value).GetDescription();
}
return result;
}
}
///
/// 物料编码
///
public string MatCode { get; set; }
///
/// 物料名称
///
public string MatName { get; set; }
///
/// 楼层
///
public int Floor { get; set; }
public int Count { get; set; }
///
/// 更新时间
///
public DateTime? EditTime { get; set; }
///
/// 创建时间
///
//public DateTime AddTime { get; set; }
///
/// 开始时间
///
public DateTime? StartTime { get; set; }
///
/// 结束时间
///
public DateTime? EndTime { get; set; }
}
public class StatisticsQueryDto : PagerInfo
{
public DateTime? AddTimeFrom { get; set; }
public DateTime? AddTimeTo { get; set; }
public string Status { get; set; }
///
/// 物料编码
///
public string MatCode { get; set; }
///
/// 物料名称
///
public string MatName { get; set; }
///
/// 开始时间,
///
public DateTime? StartTimeBegin { get; set; }
///
/// 开始时间,
///
public DateTime? StartTimeEnd { get; set; }
///
/// 结束时间,
///
public DateTime? EndTimeBegin { get; set; }
public DateTime? EndTimeEnd { get; set; }
}
public class BomSetGrpCurrentMaterialRateDto
{
public string MatCode { get; set; }
public int Qty { get; set; }
public string BomCode { get; set; }
public string BomSetName { get; set; }
public decimal Rate { get; set; }
public decimal NormalRate { get; set; }
public decimal DiffRate
{
get
{
return Rate - NormalRate;
}
}
public string RateName { get { return Rate.ToString("P2"); } }
public string NormalRateName { get { return NormalRate.ToString("P2"); } }
//public string DiffRateName
//{
// get
// {
// return DiffRate.ToString("P2");
// }
//}
public int DiffQty { get; set; }
}
public class BomSetGrpCurrentMaterialRateQueryDto : PagerInfo
{
public DateTime? AddTimeFrom { get; set; }
public DateTime? AddTimeTo { get; set; }
public string MatCode { get; set; }
}
public class HourTaskDto
{
public string WarehouseCode { get; set; }
public string WarehouseName { get; set; }
public string TaskDate { get; set; }
public string TypeName { get { return TaskType < 0 ? "" : TaskType.GetDescription(); } }
public TaskType TaskType { get; set; }
public int A0 { get; set; }
public int A1 { get; set; }
public int A2 { get; set; }
public int A3 { get; set; }
public int A4 { get; set; }
public int A5 { get; set; }
public int A6 { get; set; }
public int A7 { get; set; }
public int A8 { get; set; }
public int A9 { get; set; }
public int A10 { get; set; }
public int A11 { get; set; }
public int A12 { get; set; }
public int A13 { get; set; }
public int A14 { get; set; }
public int A15 { get; set; }
public int A16 { get; set; }
public int A17 { get; set; }
public int A18 { get; set; }
public int A19 { get; set; }
public int A20 { get; set; }
public int A21 { get; set; }
public int A22 { get; set; }
public int A23 { get; set; }
public int Total
{
get
{
return A0 + A1 + A2 + A3 + A4 + A5 + A6 + A7 + A8 + A9 + A10 + A11 + A12 + A13 + A14 + A15 + A16 + A17 + A18 + A19 + A20 + A21 + A22 + A23;
}
}
}
public class HourTaskQueryDto : PagerInfo
{
public string WarehouseCode { get; set; }
///
/// 结束时间,
///
public DateTime? EndTimeBegin { get; set; }
public DateTime? EndTimeEnd { get; set; }
public string TaskType { get; set; }
public string BusType { get; set; }
public string GroupName { get; set; } = "AddTime";
}
public class PalletizingReportDto
{
public string WarehouseCode { get; set; }
public string WarehouseName { get; set; }
public string Year { get; set; }
public string Month { get; set; }
public string Day { get; set; }
public string Hour { get; set; }
public int Qty { get; set; }
}
public class PalletizingReportQueryDto : PagerInfo
{
public string WarehouseCode { get; set; }
///
///
///
public DateTime? EndTimeBegin { get; set; }
public DateTime? EndTimeEnd { get; set; }
public string GroupName { get; set; } = "Hour";
public string WarehouseGroupName { get; set; } = "Warehouse";
}
public class InOutReportDto
{
public string WarehouseCode { get; set; }
public string WarehouseName { get; set; }
//年
public string Year { get; set; }
//月
public string Month { get; set; }
//日
public string Day { get; set; }
//时
public string Hour { get; set; }
//组盘
public int GroupQty { get; set; }
}
public class InOutReportQueryDto
{
public string KeyWord { get; set; }
public string WarehouseCode { get; set; }
///
/// 结束时间,
///
public DateTime? EndTimeBegin { get; set; }
public DateTime? EndTimeEnd { get; set; }
public string GroupName { get; set; } = "Hour";
public string WarehouseGroupName { get; set; } = "Warehouse";
}
}