You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

256 lines
7.1 KiB
C#

using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;
#region << 版 本 注 释 >>
/*--------------------------------------------------------------------
* (c) 2024 WenJY
* CLR4.0.30319.42000
* LAPTOP-E0N2L34V
* SlnMesnac.Model.domain
* 8c0a747f-0ee1-4c2a-957a-95ff8345896f
*
* WenJY
* wenjy@mesnac.com
* 2024-04-09 16:17:47
* V1.0.0
*
*
*--------------------------------------------------------------------
*
*
*
*
* V1.0.0
*--------------------------------------------------------------------*/
#endregion << 版 本 注 释 >>
namespace SlnMesnac.Model.domain
{
[SugarTable("wms_base_location"), TenantAttribute("mes")]
public class WmsBaseLocation
{
/// <summary>
/// 库位ID
/// </summary>
[SugarColumn(ColumnName = "location_id", IsPrimaryKey = true, IsIdentity = true)]
public long LocationId { get; set; }
/// <summary>
/// 仓库ID
/// </summary>
[SugarColumn(ColumnName = "warehouse_id")]
public long WarehouseId { get; set; }
/// <summary>
/// AGV位置代码
/// </summary>
[SugarColumn(ColumnName = "agv_position_code")]
public string AgvPositionCode { get; set; }
/// <summary>
/// 仓库楼层
/// </summary>
[SugarColumn(ColumnName = "warehouse_floor")]
public int WarehouseFloor { get; set; }
/// <summary>
/// 库位代码
/// </summary>
[SugarColumn(ColumnName = "location_code")]
public string LocationCode { get; set; }
/// <summary>
/// 容器代码
/// </summary>
[SugarColumn(ColumnName = "container_code")]
public string ContainerCode { get; set; }
/// <summary>
/// 行
/// </summary>
[SugarColumn(ColumnName = "loc_row")]
public int? LocRow { get; set; }
/// <summary>
/// 列
/// </summary>
[SugarColumn(ColumnName = "loc_column")]
public int? LocColumn { get; set; }
/// <summary>
/// 层数
/// </summary>
[SugarColumn(ColumnName = "layer_num")]
public int? LayerNum { get; set; }
/// <summary>
/// 深位1 浅位2
/// </summary>
[SugarColumn(ColumnName = "loc_deep")]
public int? LocDeep { get; set; }
/// <summary>
/// 是否启用
/// </summary>
[SugarColumn(ColumnName = "active_flag")]
public string ActiveFlag { get; set; } // '1' or other values
/// <summary>
/// 手动标记
/// </summary>
[SugarColumn(ColumnName = "manual_flag")]
public string ManualFlag { get; set; }
/// <summary>
/// 返回标记
/// </summary>
[SugarColumn(ColumnName = "return_flag")]
public string ReturnFlag { get; set; }
/// <summary>
/// 数量限制
/// </summary>
[SugarColumn(ColumnName = "qty_limit")]
public decimal? QtyLimit { get; set; }
/// <summary>
/// 入库标记
/// </summary>
[SugarColumn(ColumnName = "instock_flag")]
public string InstockFlag { get; set; }
/// <summary>
/// 出库标记
/// </summary>
[SugarColumn(ColumnName = "outstock_flag")]
public string OutstockFlag { get; set; }
/// <summary>
/// 库位状态
/// </summary>
[SugarColumn(ColumnName = "location_status")]
public string LocationStatus { get; set; } // '1' or other values
/// <summary>
/// 批次混合
/// </summary>
[SugarColumn(ColumnName = "batch_mix")]
public string BatchMix { get; set; } // '0' or other values
/// <summary>
/// 创建人
/// </summary>
[SugarColumn(ColumnName = "create_by")]
public string CreateBy { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[SugarColumn(ColumnName = "create_time")]
public DateTime? CreateTime { get; set; }
/// <summary>
/// 更新人
/// </summary>
[SugarColumn(ColumnName = "update_by")]
public string UpdateBy { get; set; }
/// <summary>
/// 更新时间
/// </summary>
[SugarColumn(ColumnName = "update_time")]
public DateTime? UpdateTime { get; set; }
/// <summary>
/// 备注
/// </summary>
[SugarColumn(ColumnName = "remark")]
public string Remark { get; set; }
/// <summary>
/// 删除标记
/// </summary>
[SugarColumn(ColumnName = "del_flag")]
public string DelFlag { get; set; } // '0' or other values
/// <summary>
/// 货架排序
/// </summary>
[SugarColumn(ColumnName = "shelf_order")]
public string ShelfOrder { get; set; }
/// <summary>
/// 检查排序
/// </summary>
[SugarColumn(ColumnName = "check_order")]
public string CheckOrder { get; set; }
/// <summary>
/// 拣货排序
/// </summary>
[SugarColumn(ColumnName = "pick_order")]
public string PickOrder { get; set; }
/// <summary>
/// 拣货标记
/// </summary>
[SugarColumn(ColumnName = "pick_flag")]
public string PickFlag { get; set; }
/// <summary>
/// 是否开启KN标记
/// </summary>
[SugarColumn(ColumnName = "is_open_kn_flag")]
public string IsOpenKnFlag { get; set; }
/// <summary>
/// 库位报废类型
/// </summary>
[SugarColumn(ColumnName = "location_scrap_type")]
public string LocationScrapType { get; set; }
/// <summary>
/// 体积限制
/// </summary>
[SugarColumn(ColumnName = "volume_limit")]
public decimal? VolumeLimit { get; set; }
/// <summary>
/// 重量限制
/// </summary>
[SugarColumn(ColumnName = "weight_limit")]
public decimal? WeightLimit { get; set; }
/// <summary>
/// 长度
/// </summary>
[SugarColumn(ColumnName = "length")]
public decimal? Length { get; set; }
/// <summary>
/// 宽度
/// </summary>
[SugarColumn(ColumnName = "width")]
public decimal? Width { get; set; }
/// <summary>
/// 高度
/// </summary>
[SugarColumn(ColumnName = "height")]
public decimal? Height { get; set; }
/// <summary>
/// 容器状态
/// </summary>
[SugarColumn(ColumnName = "container_status")]
public string ContainerStatus { get; set; } // '1' or '2'
/// <summary>
/// 异常描述
/// </summary>
[SugarColumn(ColumnName = "exception_desc")]
public string ExceptionDesc { get; set; }
}
}