using System;
using System.Collections.Generic;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsOpSeaeDjy
{
public class OpCtnOrderEditViewModel
{
public string CTN_ID { get; set; }
//public string ORDNO { get; set; }
public string CTNALL { get; set; }
public int? CTNNUM { get; set; }
//public int? TEU { get; set; }
public string CNTRNO { get; set; }
public string SEALNO { get; set; }
public int? PKGS { get; set; }
public string KINDPKGS { get; set; }
public decimal? KGS { get; set; }
public decimal? CBM { get; set; }
public decimal? TAREWEIGHT { get; set; }
//public string CTNSTATUS { get; set; }
public string WEIGHTYPE { get; set; }
public decimal? WEIGHKGS { get; set; }
//public string WEIGHATTN { get; set; }
//public string VGMCONNCOM { get; set; }
//public string WEIGHTEL { get; set; }
//public string WEIGHDATE { get; set; }
//public string VGMADDR { get; set; }
//public string VGMEMAIL { get; set; }
public string REMARK { get; set; }
}
public class ImportOrderViewModel
{
public string BSNO { get; set; }
public string CUST_NO { get; set; }
public string MBLNO { get; set; }
public string HBLNO { 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 NOTIFYPARTY2 { get; set; }
public string YARD { get; set; }
public string VESSEL { get; set; }
public string VESSELID { get; set; }
public string VOYNO { get; set; }
public string VoynoInner { 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 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 bool ISCONTAINERSOC { get; set; }
public string REMARK { get; set; }
public string EDIREMARK { get; set; }
public string PONO { get; set; }
public string TOTALNO { get; set; }
public string TEMPMIN { get; set; }
public string TEMPMAX { get; set; }
public string BusinessNO { get; set; }
public string YardContract { get; set; }
public string DangerType { get; set; }
public string OP { get; set; }
public string DOC { get; set; }
public string SALE { get; set; }
public string CUSTSERVICE { get; set; }
public string VGM_TIME { get; set; }
///
/// 客户
///
public string CUSTOMERNAME { get; set; }
///
/// 订舱代理
///
public string FORWARDER { get; set; }
///
/// 船代
///
public string SHIPAGENCY { get; set; }
///
/// 报关行
///
public string CUSTOMSER { get; set; }
///
/// 车队
///
public string TRUCKER { get; set; }
///
/// 国外代理
///
public string AGENTID { get; set; }
//一些代号字段
public string CARRIERID { get; set; }
public string YARDID { get; set; }
public string CUSTOMERID { get; set; }
public string FORWARDERID { get; set; }
public string SHIPAGENCYID { get; set; }
public string CUSTOMSERID { get; set; }
public string TRUCKERID { get; set; }
//国外代理名称
public string AGENTNAME { get; set; }
///
/// 委托方
///
public string WEITUO { get; set; }
///
/// EDI联系人名称
///
public string EDIATTN { get; set; }
///
/// EDI联系人电话
///
public string EDIATTNTEL { get; set; }
///
/// EDI联系人邮箱
///
public string EDIATTNEMAIL { get; set; }
///
/// 收货人DOOR地址
///
public string CONSIGNEEDOORADDR { get; set; }
///
/// 发货人DOOR地址
///
public string SHIPPERDOORADDR { get; set; }
///
/// SCAC代码
///
public string SCACCODE { get; set; }
///
/// ITN编号
///
public string ITNCODE { get; set; }
///
/// 预付地点ID
///
public string PREPARDAT_ID { get; set; }
///
/// 到付地点ID
///
public string PAYABLEAT_ID { get; set; }
public List CtrnList { get; set; }
///
/// 客户邮箱,用于后期给客户发送vgm链接等
///
public string EMAIL { get; set; }
}
//public static class OpCtnOrderEditViewModelExt
//{
// public static OpCtnOrderEditViewModel AsOrderEditViewModel(this OP_CTN model)
// {
// return Mapper.Map(model);
// }
// public static OP_CTN AsModel(this OpCtnOrderEditViewModel model)
// {
// return Mapper.Map(model);
// }
// public static List AsOrderEditViewModelList(this IEnumerable model)
// {
// return Mapper.Map>(model);
// }
// public static List AsModelList(this IEnumerable model)
// {
// return Mapper.Map>(model);
// }
//}
//
}