29 lines
893 B
C#
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);
|
|
}
|
|
}
|
|
} |