98 lines
2.6 KiB
C#
98 lines
2.6 KiB
C#
namespace ZR.Model.MES.wms.Dto
|
|
{
|
|
/// <summary>
|
|
/// 一次合格品仓库查询对象
|
|
/// </summary>
|
|
public class WmOneTimeInventoryQueryDto : PagerInfo {
|
|
public string BlankNum { get; set; }
|
|
|
|
public string Partnumber { get; set; }
|
|
|
|
public string Description { get; set; }
|
|
|
|
public int? Type { get; set; }
|
|
|
|
public int? Status { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 一次合格品仓库输入输出对象
|
|
/// </summary>
|
|
public class WmOneTimeInventoryDto
|
|
{
|
|
public string Id { get; set; }
|
|
|
|
public string BlankNum { get; set; }
|
|
|
|
public string Partnumber { get; set; }
|
|
|
|
public string WorkOrder { get; set; }
|
|
|
|
public string Color { get; set; }
|
|
|
|
public string Specification { get; set; }
|
|
|
|
public string Description { get; set; }
|
|
|
|
public int? Quantity { get; set; }
|
|
|
|
public int RealQuantity { get; set; }
|
|
|
|
public int? MaxNum { get; set; }
|
|
|
|
public int? MinNum { get; set; }
|
|
|
|
public int? WarnNum { get; set; }
|
|
|
|
public int? Type { get; set; }
|
|
|
|
public int? Status { get; set; }
|
|
|
|
public string Remark { get; set; }
|
|
|
|
public string CreatedBy { get; set; }
|
|
|
|
public DateTime? CreatedTime { get; set; }
|
|
|
|
public string UpdatedBy { get; set; }
|
|
|
|
public DateTime? UpdatedTime { get; set; }
|
|
}
|
|
|
|
public class WmOneTimeInventoryTableDto
|
|
{
|
|
public int Total { get; set; }
|
|
public int StocktakingTotal { get; set; }
|
|
public int QuantitySum { get; set; }
|
|
public int RealQuantitySum { get; set; }
|
|
public DateTime MinStocktakingTime { get; set; }
|
|
|
|
public List<WmOneTimeInventoryDto> Result { get; set; }
|
|
}
|
|
|
|
public class ErrorCheckTableDto
|
|
{
|
|
public string Name { get; set; }
|
|
public string Partnumber { get; set; }
|
|
public string Description { get; set; }
|
|
public string ErrorMessage { get; set; }
|
|
public DateTime CheckTime { get; set; }
|
|
}
|
|
|
|
// 一次合格(产成品)导出
|
|
[SugarTable("wm_one_time_record", "一次合格表")]
|
|
public class WmOneTimeInventoryExportDto
|
|
{
|
|
[SugarColumn(ColumnName = "partnumber")]
|
|
public string 零件号 { get; set; }
|
|
public string 颜色 { get; set; }
|
|
public string 规格 { get; set; }
|
|
public string 描述 { get; set; }
|
|
[SugarColumn(ColumnName = "quantity")]
|
|
public int 盘点数 { get; set; } = 0;
|
|
public int 现有库存 { get; set; } = 0;
|
|
[SugarColumn(ColumnName = "CREATED_TIME")]
|
|
public DateTime? 盘点时间 { get; set; }
|
|
}
|
|
}
|