42 lines
1.5 KiB
C#
42 lines
1.5 KiB
C#
using System.ComponentModel.DataAnnotations;
|
|
using HHWMS.Web.Models;
|
|
using WalkingTec.Mvvm.Core;
|
|
|
|
namespace HHWMS.Web
|
|
{
|
|
public partial class ContainerTemplateVM : BaseTemplateVM
|
|
{
|
|
[Display(Name = "Container.Code")]
|
|
public ExcelPropety Code_Excel = ExcelPropety.CreateProperty<Container>(x => x.Code);
|
|
|
|
[Display(Name = "Container.Type")]
|
|
public ExcelPropety Type_Excel = ExcelPropety.CreateProperty<Container>(x => x.Type);
|
|
|
|
[Display(Name = "Container.IsLock")]
|
|
public ExcelPropety IsLock_Excel = ExcelPropety.CreateProperty<Container>(x => x.IsLock);
|
|
|
|
[Display(Name = "Container.Status")]
|
|
public ExcelPropety Status_Excel = ExcelPropety.CreateProperty<Container>(x => x.Status);
|
|
|
|
[Display(Name = "Container.LocationCode")]
|
|
public ExcelPropety LocationCode_Excel = ExcelPropety.CreateProperty<Container>(x => x.LocationCode);
|
|
|
|
[Display(Name = "System.Length")]
|
|
public ExcelPropety Length_Excel = ExcelPropety.CreateProperty<Container>(x => x.Length);
|
|
|
|
[Display(Name = "System.Width")]
|
|
public ExcelPropety Width_Excel = ExcelPropety.CreateProperty<Container>(x => x.Width);
|
|
|
|
[Display(Name = "System.Height")]
|
|
public ExcelPropety Height_Excel = ExcelPropety.CreateProperty<Container>(x => x.Height);
|
|
|
|
protected override void InitVM()
|
|
{
|
|
}
|
|
}
|
|
|
|
public class ContainerImportVM : BaseImportVM<ContainerTemplateVM, Container>
|
|
{
|
|
}
|
|
}
|