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 bool FEE_SELF { 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 string yardremark { get; set; }
public List CtrnList { get; set; }
///
/// 客户邮箱,用于后期给客户发送vgm链接等
///
public string EMAIL { get; set; }
}
public class OrderHead
{
///
///
///
public string gid { get; set; }
///
///
///
public string messageType { get; set; }
///
///
///
public string senderId { get; set; }
///
/// 新海运订舱平台
///
public string senderName { get; set; }
///
///
///
public string receiverId { get; set; }
///
/// 大简云规则引擎
///
public string receiverName { get; set; }
///
///
///
public string token { get; set; }
///
///
///
public string version { get; set; }
///
///
///
public string requestDate { get; set; }
///
///
///
public string requestAction { get; set; }
}
public class ContaList
{
///
///
///
public string contaType { get; set; }
///
///
///
public string contaTypeName { get; set; }
///
///
///
public string contaNo { get; set; }
///
///
///
public string sealNo { get; set; }
///
///
///
public string kindPKGs { get; set; }
///
///
///
public string tareWeight { get; set; }
///
///
///
public int pkGs { get; set; }
///
///
///
public decimal kGs { get; set; }
///
///
///
public decimal cbm { get; set; }
}
public class OrderMain
{
///
///
///
public string busiPKId { get; set; }
///
///
///
public string runType { get; set; }
///
///
///
public string userId { get; set; }
///
/// 郑巧艳
///
public string userName { get; set; }
///
///
///
public string userEmail { get; set; }
///
///
///
public string tenantId { get; set; }
///
/// 青岛和川国际货运代理有限公司
///
public string tenantName { get; set; }
///
///
///
public string yardCode { get; set; }
///
/// 神州场站
///
public string yardCName { get; set; }
///
///
///
public string vesselName { get; set; }
///
///
///
public string vesselCName { get; set; }
///
///
///
public string voyNo { get; set; }
///
///
///
public string masterBlNo { get; set; }
///
///
///
public string houseBlNo { get; set; }
///
///
///
public string bookingNo { get; set; }
///
///
///
public string portLoadId { get; set; }
///
///
///
public string portLoad { get; set; }
///
///
///
public string portDischargeId { get; set; }
///
///
///
public string portDischarge { get; set; }
///
///
///
public string transportId { get; set; }
///
///
///
public string transport { get; set; }
///
///
///
public string placeDeliveryId { get; set; }
///
///
///
public string placeDelivery { get; set; }
///
///
///
public string destinationId { get; set; }
///
///
///
public string destination { get; set; }
///
///
///
public int pkGs { get; set; }
///
///
///
public decimal kGs { get; set; }
///
///
///
public decimal cbm { get; set; }
///
///
///
public string dClass { get; set; }
///
///
///
public string dunNo { get; set; }
///
///
///
public string fuDClass { get; set; }
///
///
///
public string fuDUNNo { get; set; }
///
///
///
public string haiWu { get; set; }
///
///
///
public string tempSet { get; set; }
///
///
///
public string reeferf { get; set; }
///
///
///
public string humidity { get; set; }
///
///
///
///
///
public bool IsCreateHtmlPage { get; set; }
public List contaList { get; set; }
}
public class DbRoot
{
///
///
///
public OrderHead head { get; set; }
///
///
///
public OrderMain main { get; set; }
}
#region 对比返回
public class DetailList
{
///
///
///
public string fieldCode { get; set; }
///
/// 船名
///
public string fieldName { get; set; }
///
///
///
public string reqVal { get; set; }
///
///
///
public string targetVal { get; set; }
///
///
///
public bool isDiff { get; set; }
///
///
///
public int sort { get; set; }
///
///
///
public string mergeGroupKey { get; set; }
///
///
///
public int mergeSort { get; set; }
///
///
///
public bool isDisplay { get; set; }
///
///
///
public string primaryKey { get; set; }
///
///
///
public string mergeHtml { get; set; }
///
///
///
public string mergeBeforeSplit { get; set; }
///
///
///
public string msg { get; set; }
///
///
///
public string pCode { get; set; }
///
///
///
public bool isPrimaryKey { get; set; }
///
///
///
public bool isBothEmpty { get; set; }
}
public class Extra
{
///
///
///
public string origPKId { get; set; }
///
///
///
public string taskCompareId { get; set; }
///
///
///
public string mBlNo { get; set; }
///
///
///
public bool isExistsDiff { get; set; }
///
///
///
public string compareTime { get; set; }
///
///
///
public List detailList { get; set; }
}
public class DbReturn
{
///
///
///
public bool succ { get; set; }
///
///
///
public int status { get; set; }
///
///
///
public string msg { get; set; }
///
///
///
public int total { get; set; }
///
///
///
public string rows { get; set; }
///
///
///
public string summary { get; set; }
///
///
///
public Extra extra { get; set; }
///
///
///
public string resultHtml { get; set; }
}
#endregion
}