入库模块init

This commit is contained in:
qianhao.xu
2024-03-13 17:30:57 +08:00
parent 59f7962ffc
commit 3ab1ba3064
9 changed files with 411 additions and 8 deletions

View File

@@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ZR.Model.MES.wms.Dto
{
/// <summary>
/// 待入库货物
/// </summary>
public class WmgoodsDto
{
/// <summary>
/// 货架
/// </summary>
public string location { set; get; }
/// <summary>
/// 箱子列表
/// </summary>
public string[] packagelist { set; get; }
}
}

View File

@@ -0,0 +1,69 @@
using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace ZR.Model.MES.wms
{
/// <summary>
/// 成品库当前货物表
///</summary>
[SugarTable("wm_goods_now_production")]
public class WmGoodsNowProduction
{
/// <summary>
/// 雪花id
///</summary>
[SugarColumn(ColumnName = "id", IsPrimaryKey = true)]
public string Id { get; set; }
/// <summary>
/// 箱子编号
///</summary>
[SugarColumn(ColumnName = "package_code")]
public string PackageCode { get; set; }
/// <summary>
/// 库位编号
///</summary>
[SugarColumn(ColumnName = "location_code")]
public string LocationCode { get; set; }
/// <summary>
/// 箱子中货物数量(理论)
///</summary>
[SugarColumn(ColumnName = "goods_num_logic")]
public int? GoodsNumLogic { get; set; }
/// <summary>
/// 箱子中货物数量(实际)
///</summary>
[SugarColumn(ColumnName = "goods_num_action")]
public int? GoodsNumAction { get; set; }
/// <summary>
/// 入库时间
///</summary>
[SugarColumn(ColumnName = "entry_warehouse_time")]
public DateTime? EntryWarehouseTime { get; set; }
/// <summary>
/// 备注
///</summary>
[SugarColumn(ColumnName = "remark")]
public string Remark { get; set; }
/// <summary>
/// 更新人
///</summary>
[SugarColumn(ColumnName = "UPDATED_BY")]
public string UpdatedBy { get; set; }
/// <summary>
/// 更新时间
///</summary>
[SugarColumn(ColumnName = "UPDATED_TIME")]
public DateTime? UpdatedTime { get; set; }
/// <summary>
/// 创建人
///</summary>
[SugarColumn(ColumnName = "CREATED_BY")]
public string CreatedBy { get; set; }
/// <summary>
/// 创建时间
///</summary>
[SugarColumn(ColumnName = "CREATED_TIME")]
public DateTime? CreatedTime { get; set; }
}
}

View File

@@ -0,0 +1,76 @@
using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace ZR.Model.MES.wms
{
/// <summary>
/// 包装记录
///</summary>
[SugarTable("wm_packingrecord")]
public class WmPackingrecord
{
/// <summary>
///
///</summary>
[SugarColumn(ColumnName = "ID", IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
/// <summary>
/// 零件号
///</summary>
[SugarColumn(ColumnName = "PartNum")]
public string PartNum { get; set; }
/// <summary>
/// 设备名称ID
///</summary>
[SugarColumn(ColumnName = "Machine")]
public string Machine { get; set; }
/// <summary>
/// 产品条码
///</summary>
[SugarColumn(ColumnName = "ProductCode")]
public string ProductCode { get; set; }
/// <summary>
/// 箱条码
///</summary>
[SugarColumn(ColumnName = "PackingCode")]
public string PackingCode { get; set; }
/// <summary>
/// 扫码记录
///</summary>
[SugarColumn(ColumnName = "ScannerContent")]
public string ScannerContent { get; set; }
/// <summary>
/// 工单号
///</summary>
[SugarColumn(ColumnName = "WorkOrderNum")]
public string WorkOrderNum { get; set; }
/// <summary>
/// 备用3
///</summary>
[SugarColumn(ColumnName = "Standby3")]
public string Standby3 { get; set; }
/// <summary>
/// 备用4
///</summary>
[SugarColumn(ColumnName = "Standby4")]
public string Standby4 { get; set; }
/// <summary>
/// 备用5
///</summary>
[SugarColumn(ColumnName = "Standby5")]
public string Standby5 { get; set; }
/// <summary>
/// 指示是否满箱
/// 默认值: b'0'
///</summary>
[SugarColumn(ColumnName = "BFilled")]
public bool BFilled { get; set; }
/// <summary>
/// 创建时间
///</summary>
[SugarColumn(ColumnName = "CreateTime")]
public DateTime? CreateTime { get; set; }
}
}