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.

243 lines
6.4 KiB
C#

2 years ago
//-----------------------------------------------------------------------
//<copyright>
// * Copyright (C) 2021 KEHAIDASOFT All Rights Reserved
// * version : 4.0.30319.42000
// * author : khd by t4-2
// </copyright>
//-----------------------------------------------------------------------
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Khd.Core.Domain.Models
{
[Table("wms_base_location")]
public class WmsBaseLocation
{
[Key]
[Column("location_id")]
public long locationId { get; set; }
/// <summary>
/// 仓库ID关联wms_base_warehouse的warehouse_id
/// </summary>
[Column("warehouse_id")]
public long warehouseId { get; set; }
/// <summary>
/// 库位编码
/// </summary>
[Column("location_code")]
public string locationCode { get; set; }
/// <summary>
/// 排
/// </summary>
[Column("loc_row")]
public int? locRow { get; set; }
/// <summary>
/// 层数
/// </summary>
[Column("layer_num")]
public int? layerNum { get; set; }
/// <summary>
/// 列
/// </summary>
[Column("loc_column")]
public int? locColumn { get; set; }
/// <summary>
/// 深位
/// </summary>
[Column("loc_deep")]
public int? locDeep { get; set; }
/// <summary>
/// 激活标记 1是 0否
/// </summary>
[Column("active_flag")]
public string activeFlag { get; set; }
/// <summary>
/// 人工处理标识1是,0否对于agv仓库可选择
/// </summary>
[Column("manual_flag")]
public string manualFlag { get; set; }
/// <summary>
/// 数量限制
/// </summary>
[Column("qty_limit")]
public decimal? qtyLimit { get; set; }
/// <summary>
/// 入库过度库位标识(1:是,0:否)
/// </summary>
[Column("instock_flag")]
public string instockFlag { get; set; }
/// <summary>
/// 出库过度库位标识(1:是,0:否)
/// </summary>
[Column("outstock_flag")]
public string outstockFlag { get; set; }
/// <summary>
/// 库位状态(1:正常,2:自动锁定,3:人工锁定,4:移库锁定5:合库锁定);在正常时,库位可以使用,如果是自动锁定则需要自动解锁变成正常,如果是人工锁定需要人工解锁变成正常
/// </summary>
[Column("location_status")]
public string locationStatus { get; set; }
/// <summary>
/// 允许混放批次 1是 0否(预留,先不显示此字段);先按仓库的判断
/// </summary>
[Column("batch_mix")]
public string batchMix { get; set; }
/// <summary>
/// 创建者
/// </summary>
[Column("create_by")]
public string createBy { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Column("create_time")]
public DateTime? createTime { get; set; }
/// <summary>
/// 更新者
/// </summary>
[Column("update_by")]
public string updateBy { get; set; }
/// <summary>
/// 更新时间
/// </summary>
[Column("update_time")]
public DateTime? updateTime { get; set; }
/// <summary>
/// 备注
/// </summary>
[Column("remark")]
public string remark { get; set; }
/// <summary>
/// 删除标志 1删除 0显示
/// </summary>
[Column("del_flag")]
public string delFlag { get; set; }
/// <summary>
/// 上架顺序
/// </summary>
[Column("shelf_order")]
public string shelfOrder { get; set; }
/// <summary>
/// 盘点顺序
/// </summary>
[Column("check_order")]
public string checkOrder { get; set; }
/// <summary>
/// 拣货顺序
/// </summary>
[Column("pick_order")]
public string pickOrder { get; set; }
/// <summary>
/// 是否允许拣货
/// </summary>
[Column("pick_flag")]
public string pickFlag { get; set; }
/// <summary>
/// 是否开启库内交接 0未开启 1开启
/// </summary>
[Column("is_open_kn_flag")]
public string isOpenKnFlag { get; set; }
/// <summary>
/// 是否报废库位 1:正常 0报废
/// </summary>
[Column("location_scrap_type")]
public string locationScrapType { get; set; }
/// <summary>
/// 库位属性
/// </summary>
[Column("location_attr")]
public string locationAttr { get; set; }
/// <summary>
/// 周转需求
/// </summary>
[Column("turn_demand")]
public string turnDemand { get; set; }
/// <summary>
/// 校验码
/// </summary>
[Column("check_code")]
public string checkCode { get; set; }
/// <summary>
/// 工作区
/// </summary>
[Column("work_area")]
public string workArea { get; set; }
/// <summary>
/// 体积限制
/// </summary>
[Column("volume_limit")]
public decimal? volumeLimit { get; set; }
/// <summary>
/// 重量限制
/// </summary>
[Column("weight_limit")]
public decimal? weightLimit { get; set; }
/// <summary>
/// 箱数限制
/// </summary>
[Column("box_limit")]
public int? boxLimit { get; set; }
/// <summary>
/// 托盘限制
/// </summary>
[Column("pallet_limit")]
public int? palletLimit { get; set; }
/// <summary>
/// 长度
/// </summary>
[Column("length")]
public decimal? length { get; set; }
/// <summary>
/// 宽度
/// </summary>
[Column("width")]
public decimal? width { get; set; }
/// <summary>
/// 高度
/// </summary>
[Column("height")]
public decimal? height { get; set; }
}
}