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
{
///
/// 编码
///
[ExcelDataOptionAttribute(DisplayName = "库位编号", ColumnIndex = 0)]
public string Placecode { get; set; }
///
/// 所在库区
///
[ExcelDataOptionAttribute(DisplayName = "所在库区", ColumnIndex = 1)]
public string AreaName
{
get
{
return "A区";
}
}
///
/// 排
///
[ExcelDataOptionAttribute(DisplayName = "排", ColumnIndex = 2)]
public int Rowno { get; set; }
///
/// 列
///
[ExcelDataOptionAttribute(DisplayName = "列", ColumnIndex = 3)]
public int Columnno { get; set; }
///
/// 层
///
[ExcelDataOptionAttribute(DisplayName = "层", ColumnIndex = 4)]
public int Layerno { get; set; }
///
/// 进深号
///
public int Deepcellno { get; set; }
///
/// 进深号
///
[ExcelDataOptionAttribute(DisplayName = "进深号", ColumnIndex = 5)]
public string DeepcellnoName {
get
{
switch (Deepcellno)
{
case 1:
return "远伸";
case 0:
return "近伸";
default:
return "";
}
}
}
///
/// 巷道
///
[ExcelDataOptionAttribute(DisplayName = "巷道", ColumnIndex = 6)]
public int Aisle { get; set; }
///
/// 是否锁定
///
[ExcelDataOptionAttribute(DisplayName = "是否锁定", ColumnIndex = 7)]
public iWare.Wms.Core.YesOrNot Islock { get; set; }
///
/// 库位长度
///
[ExcelDataOptionAttribute(DisplayName = "库位长度", ColumnIndex = 8)]
public decimal Length { get; set; }
///
/// 库位宽度
///
[ExcelDataOptionAttribute(DisplayName = "库位宽度", ColumnIndex = 9)]
public decimal Width { get; set; }
///
/// 库位高度
///
[ExcelDataOptionAttribute(DisplayName = "库位高度", ColumnIndex = 10)]
public decimal Height { get; set; }
}
}