91 lines
2.3 KiB
C#
91 lines
2.3 KiB
C#
using MiniExcelLibs.Attributes;
|
|
|
|
namespace ZR.Model.MES.wms.Dto
|
|
{
|
|
/// <summary>
|
|
/// 工艺路线-抛光 库存表查询对象
|
|
/// </summary>
|
|
public class WmPolishInventoryQueryDto : 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 WmPolishInventoryDto
|
|
{
|
|
public string Id { get; set; }
|
|
|
|
public string BlankNum { get; set; }
|
|
|
|
public string Partnumber { 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; } = 0;
|
|
|
|
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 DateTime? ActionTime { get; set; }
|
|
|
|
public string CreatedBy { get; set; }
|
|
|
|
public DateTime? CreatedTime { get; set; }
|
|
|
|
public string UpdatedBy { get; set; }
|
|
|
|
public DateTime? UpdatedTime { get; set; }
|
|
}
|
|
|
|
public class WmPolishInventoryTableDto
|
|
{
|
|
public int Total { get; set; }
|
|
public int StocktakingTotal { get; set; }
|
|
public int QuantitySum { get; set; }
|
|
public int RealQuantitySum { get; set; }
|
|
public List<WmPolishInventoryDto> Result { get; set; }
|
|
}
|
|
|
|
[SugarTable("wm_polish_inventory", "抛光表")]
|
|
public class WmPolishInventoryExportDto
|
|
{
|
|
[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; }
|
|
}
|
|
}
|