Files
WMS/HHWMS.Web/Areas/TaskManage/ViewModels/TaskHeaderHistoryVMs/TaskHeaderHistoryImportVM.cs
T
2023-07-25 19:20:18 +08:00

50 lines
2.2 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using HHWMS.Web.Models;
namespace HHWMS.Web
{
public partial class TaskHeaderHistoryTemplateVM : BaseTemplateVM
{
[Display(Name = "Task.ZoneCode")]
public ExcelPropety ZoneCode_Excel = ExcelPropety.CreateProperty<TaskHeaderHistory>(x => x.ZoneCode);
[Display(Name = "Task.TaskNo")]
public ExcelPropety TaskNo_Excel = ExcelPropety.CreateProperty<TaskHeaderHistory>(x => x.TaskNo);
[Display(Name = "Task.TaskType")]
public ExcelPropety TaskType_Excel = ExcelPropety.CreateProperty<TaskHeaderHistory>(x => x.TaskType);
[Display(Name = "Task.FromLocation")]
public ExcelPropety FromLocation_Excel = ExcelPropety.CreateProperty<TaskHeaderHistory>(x => x.FromLocation);
[Display(Name = "Task.ToLocation")]
public ExcelPropety ToLocation_Excel = ExcelPropety.CreateProperty<TaskHeaderHistory>(x => x.ToLocation);
[Display(Name = "Task.Station")]
public ExcelPropety Station_Excel = ExcelPropety.CreateProperty<TaskHeaderHistory>(x => x.Station);
[Display(Name = "Task.ContainerCode")]
public ExcelPropety ContainerCode_Excel = ExcelPropety.CreateProperty<TaskHeaderHistory>(x => x.ContainerCode);
[Display(Name = "Task.RoadWay")]
public ExcelPropety RoadWay_Excel = ExcelPropety.CreateProperty<TaskHeaderHistory>(x => x.RoadWay);
[Display(Name = "Task.Priority")]
public ExcelPropety Priority_Excel = ExcelPropety.CreateProperty<TaskHeaderHistory>(x => x.Priority);
[Display(Name = "Task.Status")]
public ExcelPropety Status_Excel = ExcelPropety.CreateProperty<TaskHeaderHistory>(x => x.Status);
[Display(Name = "Task.ErrorMsg")]
public ExcelPropety ErrorMsg_Excel = ExcelPropety.CreateProperty<TaskHeaderHistory>(x => x.ErrorMsg);
protected override void InitVM()
{
}
}
public class TaskHeaderHistoryImportVM : BaseImportVM<TaskHeaderHistoryTemplateVM, TaskHeaderHistory>
{
}
}