You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DS7/DSWeb/Areas/Dispatch/Models/RespGetFiles.cs

37 lines
977 B
C#

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<ReceiptDocListViewModel> 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<ReceiptDocListViewModel> AsReceiptDocListViewModelList(this IEnumerable<ReceiptDoc> model)
{
return Mapper.Map<IEnumerable<ReceiptDoc>, List<ReceiptDocListViewModel>>(model);
}
}
}