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 TaskHeaderTemplateVM : BaseTemplateVM { [Display(Name = "Task.TaskNo")] public ExcelPropety TaskNo_Excel = ExcelPropety.CreateProperty(x => x.TaskNo); [Display(Name = "Task.TaskType")] public ExcelPropety TaskType_Excel = ExcelPropety.CreateProperty(x => x.TaskType); [Display(Name = "Task.FromLocation")] public ExcelPropety FromLocation_Excel = ExcelPropety.CreateProperty(x => x.FromLocation); [Display(Name = "Task.ToLocation")] public ExcelPropety ToLocation_Excel = ExcelPropety.CreateProperty(x => x.ToLocation); [Display(Name = "Task.Station")] public ExcelPropety Station_Excel = ExcelPropety.CreateProperty(x => x.Station); [Display(Name = "Task.ContainerCode")] public ExcelPropety ContainerCode_Excel = ExcelPropety.CreateProperty(x => x.ContainerCode); [Display(Name = "Task.RoadWay")] public ExcelPropety RoadWay_Excel = ExcelPropety.CreateProperty(x => x.RoadWay); [Display(Name = "Task.Priority")] public ExcelPropety Priority_Excel = ExcelPropety.CreateProperty(x => x.Priority); [Display(Name = "Task.Status")] public ExcelPropety Status_Excel = ExcelPropety.CreateProperty(x => x.Status); [Display(Name = "Task.ErrorMsg")] public ExcelPropety ErrorMsg_Excel = ExcelPropety.CreateProperty(x => x.ErrorMsg); [Display(Name = "Task.CreateTime")] public ExcelPropety CreateTime_Excel = ExcelPropety.CreateProperty(x => x.CreateTime); protected override void InitVM() { } } public class TaskHeaderImportVM : BaseImportVM { } }