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 WmsContainerExcel
{
///
/// 编号
///
[ExcelDataOptionAttribute(DisplayName = "小车编号", ColumnIndex = 0)]
public string Containercode { get; set; }
///
/// 小车类型编码
///
public string ContainerTypeCode { get; set; }
///
/// 小车类型名称
///
[ExcelDataOptionAttribute(DisplayName = "小车类型名称", ColumnIndex = 1)]
public string ContainerTypeName {
get
{
switch (ContainerTypeCode)
{
case "H1400":
return "高1400";
case "H2100":
return "高2100";
case "H2300":
return "高2300";
case "H2600":
return "高2600";
case "HMAX":
return "高MAX";
default:
return "";
}
}
}
///
/// 长度
///
[ExcelDataOptionAttribute(DisplayName = "长度", ColumnIndex = 2)]
public decimal Speclength { get; set; }
///
/// 宽度
///
[ExcelDataOptionAttribute(DisplayName = "宽度", ColumnIndex = 3)]
public decimal Specwidth { get; set; }
///
/// 高度
///
[ExcelDataOptionAttribute(DisplayName = "高度", ColumnIndex = 4)]
public decimal Specheight { get; set; }
///
/// 绑定库位
///
[ExcelDataOptionAttribute(DisplayName = "绑定库位", ColumnIndex = 5)]
public string RealLocationCode { get; set; }
}
}