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/BookingJieFeng/Models/ConfirmListViewModel.cs

93 lines
3.4 KiB
C#

2 years ago
using AutoMapper;
using BookingJieFeng.DB.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace BookingJieFeng.Models
{
public class ConfirmListViewModel
{
public string SINO { get; set; }
public string ORDNO { get; set; }
public string BSSTATUS { get; set; }
public string MBLNO { get; set; }
public string ORDERNO { get; set; }
public string CONTRACTNO { get; set; }
public string SHIPPER { get; set; }
public string CONSIGNEE { get; set; }
public string NOTIFYPARTY { get; set; }
public string YARD { get; set; }
public string VESSELID { get; set; }
public string VESSEL { get; set; }
public string VOYNO { get; set; }
public string ETD { get; set; }
public string CLOSINGDATE { get; set; }
public string CLOSEDOCDATE { get; set; }
public string ETA { get; set; }
public string PLACERECEIPTID { get; set; }
public string PLACERECEIPT { get; set; }
public string PORTLOADID { get; set; }
public string PORTLOAD { get; set; }
public string PORTDISCHARGEID { get; set; }
public string PORTDISCHARGE { get; set; }
public string PLACEDELIVERYID { get; set; }
public string PLACEDELIVERY { get; set; }
public string DESTINATIONID { get; set; }
public string DESTINATION { get; set; }
public string NOBILL { get; set; }
public string COPYNOBILLL { get; set; }
public string ISSUETYPE { get; set; }
public string ISSUEDATE { get; set; }
public string ISSUEPLACEID { get; set; }
public string ISSUEPLACE { get; set; }
public string BLFRT { get; set; }
public string PREPARDAT { get; set; }
public string PAYABLEAT { get; set; }
public string SERVICE { get; set; }
public string MARKS { get; set; }
public string HSCODE { get; set; }
public string DESCRIPTION { get; set; }
public int? PKGS { get; set; }
public string KINDPKGS { get; set; }
public decimal? KGS { get; set; }
public decimal? CBM { get; set; }
public string CNTRTOTAL { get; set; }
public string INPUTBY { get; set; }
public string CARRIER { get; set; }
public string CARGOID { get; set; }
public string DCLASS { get; set; }
public string DUNNO { get; set; }
public string DPAGE { get; set; }
public string DLABEL { get; set; }
public string LINKMAN { get; set; }
public string TEMPID { get; set; }
public string TEMPSET { get; set; }
public string REEFERF { get; set; }
public string HUMIDITY { get; set; }
public string ISCONTAINERSOC { get; set; }
public string REMARK { get; set; }
public string SIREMARK { get; set; }
public string CREATETIME { get; set; }
public string PONO { get; set; }
public string BusinessNO { get; set; }
public string BSSTATUS_NAME { get; set; }
}
public static class ConfirmListViewModelExt
{
public static ConfirmListViewModel AsListViewModel(this OP_SEAE_SI model)
{
return Mapper.Map<ConfirmListViewModel>(model);
}
public static List<ConfirmListViewModel> AsListViewModelList(this IEnumerable<OP_SEAE_SI> model)
{
return Mapper.Map<List<ConfirmListViewModel>>(model);
}
}
}