shgx_tz_mom/ZR.Model/MES/wms/Dto/WmPolishInventoryDto.cs
2024-11-18 20:14:00 +08:00

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; }
}
}