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 RespGetFiles : RespCommon { public List Data { get; set; } } public class ReceiptDocListViewModel { public ReceiptDocListViewModel() { } public string GID { get; set; } public string URL { get; set; } public string Driect_URL { get; set; } public string MODIFIEDUSER { get; set; } public string MODIFIEDTIME { get; set; } } public static class ReceiptDocListViewModelExt { public static List AsReceiptDocListViewModelList(this IEnumerable model) { return Mapper.Map, List>(model); } } }