using Admin.NET.Core.Helper.ExcelHelper;
|
using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace iWare.Wms.Application
|
{
|
public class WmsPlaceExcel
|
{
|
/// <summary>
|
/// 编码
|
/// </summary>
|
[ExcelDataOptionAttribute(DisplayName = "库位编号", ColumnIndex = 0)]
|
public string Placecode { get; set; }
|
|
/// <summary>
|
/// 所在库区
|
/// </summary>
|
[ExcelDataOptionAttribute(DisplayName = "所在库区", ColumnIndex = 1)]
|
public string AreaName
|
{
|
get
|
{
|
return "A区";
|
}
|
}
|
|
/// <summary>
|
/// 排
|
/// </summary>
|
[ExcelDataOptionAttribute(DisplayName = "排", ColumnIndex = 2)]
|
public int Rowno { get; set; }
|
|
/// <summary>
|
/// 列
|
/// </summary>
|
[ExcelDataOptionAttribute(DisplayName = "列", ColumnIndex = 3)]
|
public int Columnno { get; set; }
|
|
/// <summary>
|
/// 层
|
/// </summary>
|
[ExcelDataOptionAttribute(DisplayName = "层", ColumnIndex = 4)]
|
public int Layerno { get; set; }
|
|
/// <summary>
|
/// 进深号
|
/// </summary>
|
public int Deepcellno { get; set; }
|
|
/// <summary>
|
/// 进深号
|
/// </summary>
|
[ExcelDataOptionAttribute(DisplayName = "进深号", ColumnIndex = 5)]
|
public string DeepcellnoName {
|
get
|
{
|
switch (Deepcellno)
|
{
|
case 1:
|
return "远伸";
|
case 0:
|
return "近伸";
|
default:
|
return "";
|
}
|
}
|
}
|
|
/// <summary>
|
/// 巷道
|
/// </summary>
|
[ExcelDataOptionAttribute(DisplayName = "巷道", ColumnIndex = 6)]
|
public int Aisle { get; set; }
|
|
/// <summary>
|
/// 是否锁定
|
/// </summary>
|
[ExcelDataOptionAttribute(DisplayName = "是否锁定", ColumnIndex = 7)]
|
public iWare.Wms.Core.YesOrNot Islock { get; set; }
|
|
/// <summary>
|
/// 库位长度
|
/// </summary>
|
[ExcelDataOptionAttribute(DisplayName = "库位长度", ColumnIndex = 8)]
|
public decimal Length { get; set; }
|
|
/// <summary>
|
/// 库位宽度
|
/// </summary>
|
[ExcelDataOptionAttribute(DisplayName = "库位宽度", ColumnIndex = 9)]
|
public decimal Width { get; set; }
|
|
/// <summary>
|
/// 库位高度
|
/// </summary>
|
[ExcelDataOptionAttribute(DisplayName = "库位高度", ColumnIndex = 10)]
|
public decimal Height { get; set; }
|
}
|
}
|