|
|
|
|
@ -0,0 +1,198 @@
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
#region << 版 本 注 释 >>
|
|
|
|
|
/*--------------------------------------------------------------------
|
|
|
|
|
* 版权所有 (c) 2026 WenJY 保留所有权利。
|
|
|
|
|
* CLR版本:4.0.30319.42000
|
|
|
|
|
* 机器名称:T14-GEN3-7895
|
|
|
|
|
* 命名空间:Sln.Wcs.Model.Domain
|
|
|
|
|
* 唯一标识:330ca081-4696-4624-ba20-b00dc20a6369
|
|
|
|
|
*
|
|
|
|
|
* 创建者:WenJY
|
|
|
|
|
* 电子邮箱:
|
|
|
|
|
* 创建时间:2026-03-25 16:20:32
|
|
|
|
|
* 版本:V1.0.0
|
|
|
|
|
* 描述:
|
|
|
|
|
*
|
|
|
|
|
*--------------------------------------------------------------------
|
|
|
|
|
* 修改人:
|
|
|
|
|
* 时间:
|
|
|
|
|
* 修改说明:
|
|
|
|
|
*
|
|
|
|
|
* 版本:V1.0.0
|
|
|
|
|
*--------------------------------------------------------------------*/
|
|
|
|
|
#endregion << 版 本 注 释 >>
|
|
|
|
|
namespace Sln.Wcs.Model.Domain
|
|
|
|
|
{
|
|
|
|
|
///<summary>
|
|
|
|
|
///库位信息
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarTable("base_location_info"), TenantAttribute("core")]
|
|
|
|
|
public class BaseLocationInfo
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:主键标识
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "obj_id")]
|
|
|
|
|
public int objId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:库位编号
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "location_code")]
|
|
|
|
|
public string locationCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:库位名称
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "location_name")]
|
|
|
|
|
public string locationName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:库位区域
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "location_area")]
|
|
|
|
|
public string locationArea { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:所属仓库
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "store_code")]
|
|
|
|
|
public string storeCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:排
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "location_rows")]
|
|
|
|
|
public int? locationRows { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:列
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "location_columns")]
|
|
|
|
|
public int? locationColumns { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:层
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "location_layers")]
|
|
|
|
|
public int? locationLayers { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:AGV定位
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "agv_position")]
|
|
|
|
|
public string agvPosition { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:关联设备编号
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "device_code")]
|
|
|
|
|
public string deviceCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:物料编号
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "material_code")]
|
|
|
|
|
public string materialCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:托盘条码
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "pallet_barcode")]
|
|
|
|
|
public string palletBarcode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:库存数量
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "stack_count")]
|
|
|
|
|
public string stackCount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:库位状态;0-未使用;1-已使用;2-锁库;3-异常
|
|
|
|
|
/// Default:0
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "location_status")]
|
|
|
|
|
public int? locationStatus { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:是否标识:1-是;0-否
|
|
|
|
|
/// Default:0
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "is_flag")]
|
|
|
|
|
public int? isFlag { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:备注
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "remark")]
|
|
|
|
|
public string remark { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:创建人
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "created_by")]
|
|
|
|
|
public string createdBy { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:创建时间
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "created_time")]
|
|
|
|
|
public DateTime? createdTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:更新人
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "updated_by")]
|
|
|
|
|
public string updatedBy { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:更新时间
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "updated_time")]
|
|
|
|
|
public DateTime? updatedTime { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|