煤科院现场调试提交

This commit is contained in:
hehaibing-1996
2024-12-21 18:46:18 +08:00
parent 85a35ac34f
commit ce4a2fbe3a
12 changed files with 468 additions and 136 deletions

View File

@ -50,17 +50,14 @@ namespace WCS.BLL.DbModels
/// <summary>
/// 入库的库位表ID
/// </summary>
[SugarColumn(ColumnName = "store_id", IsNullable = false, ColumnDescription = "库位ID")]
[SugarColumn(ColumnName = "store_id", IsNullable = true, ColumnDescription = "库位ID")]
public int StoreId { get; set; }
/// <summary>
/// 入库的库位编码
/// </summary>
[SugarColumn(ColumnName = "store_code", Length = 50, IsNullable = false, ColumnDescription = "库位编码")]
[SugarColumn(ColumnName = "store_code", Length = 50, IsNullable = true, ColumnDescription = "库位编码")]
public string StoreCode { get; set; }
[Navigate(NavigateType.OneToOne, nameof(StoreId))]
public StoreInfo StoreInfo { get; set; }
#endregion
#region
@ -70,6 +67,10 @@ namespace WCS.BLL.DbModels
[SugarColumn(ColumnName = "task_id", IsNullable = false, ColumnDescription = "任务Id同一个库位只支持1-7")]
public int TaskID { get; set; } = 0;
///真主键
[SugarColumn(ColumnName = "item_no", Length = 128, IsNullable = false, ColumnDescription = "出库单据号")]
public string ItemNo { get; set; } = string.Empty;
/// <summary>
/// Guid
/// </summary>
@ -85,7 +86,7 @@ namespace WCS.BLL.DbModels
/// <summary>
/// 出库单据号
/// </summary>
[SugarColumn(ColumnName = "order_number", Length = 50, IsNullable = false, ColumnDescription = "出库单据号")]
[SugarColumn(ColumnName = "order_number", Length = 128, IsNullable = false, ColumnDescription = "出库单据号")]
public string OrderNumber { get; set; }
/// <summary>