DS7/BookingJieFeng/Models/OpSeaeSignViewModel.cs

29 lines
893 B
C#

using AutoMapper;
using BookingJieFeng.DB.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace BookingJieFeng.Models
{
public class OpSeaeSignMainListViewModel
{
public string { get; set; }
public string { get; set; }
public string { get; set; }
public string { get; set; }
public string { get; set; }
public string { get; set; }
public string { get; set; }
public string { get; set; }
}
public static class OpSeaeSignMainListViewModelExt
{
public static List<OpSeaeSignMainListViewModel> AsListViewModelList(this IEnumerable<t_op_seae_sign_main> seae)
{
return Mapper.Map<List<OpSeaeSignMainListViewModel>>(seae);
}
}
}