using AutoMapper; using DSWeb.Areas.Dispatch.DB; using DSWeb.MvcShipping.Models.MsOpSeae; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace DSWeb.Areas.Dispatch.Models { public class RespGetOpStatus : RespCommon { public List Data { get; set; } } public class OpStatusViewModel { public string STATUS { get; set; } public string COMPTIME { get; set; } public string COMPTIME_DATE { get; set; } public string COMPTIME_TIME { get; set; } } public static class OpStatusViewModelExt { public static List AsOpStatusViewModelList(this IEnumerable model) { return Mapper.Map, List>(model); } } }