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.

642 lines
16 KiB
C#

10 months ago
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; }
/// <summary>
/// 客户
/// </summary>
public string CUSTOMERNAME { get; set; }
/// <summary>
/// 订舱代理
/// </summary>
public string FORWARDER { get; set; }
/// <summary>
/// 船代
/// </summary>
public string SHIPAGENCY { get; set; }
/// <summary>
/// 报关行
/// </summary>
public string CUSTOMSER { get; set; }
/// <summary>
/// 车队
/// </summary>
public string TRUCKER { get; set; }
/// <summary>
/// 国外代理
/// </summary>
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; }
/// <summary>
/// 委托方
/// </summary>
public string WEITUO { get; set; }
/// <summary>
/// EDI联系人名称
/// </summary>
public string EDIATTN { get; set; }
/// <summary>
/// EDI联系人电话
/// </summary>
public string EDIATTNTEL { get; set; }
/// <summary>
/// EDI联系人邮箱
/// </summary>
public string EDIATTNEMAIL { get; set; }
/// <summary>
/// 收货人DOOR地址
/// </summary>
public string CONSIGNEEDOORADDR { get; set; }
/// <summary>
/// 发货人DOOR地址
/// </summary>
public string SHIPPERDOORADDR { get; set; }
/// <summary>
/// SCAC代码
/// </summary>
public string SCACCODE { get; set; }
/// <summary>
/// ITN编号
/// </summary>
public string ITNCODE { get; set; }
/// <summary>
/// 预付地点ID
/// </summary>
public string PREPARDAT_ID { get; set; }
/// <summary>
/// 到付地点ID
/// </summary>
public string PAYABLEAT_ID { get; set; }
public string yardremark { get; set; }
public List<OpCtnOrderEditViewModel> CtrnList { get; set; }
/// <summary>
/// 客户邮箱用于后期给客户发送vgm链接等
/// </summary>
public string EMAIL { get; set; }
}
public class OrderHead
{
/// <summary>
///
/// </summary>
public string gid { get; set; }
/// <summary>
///
/// </summary>
public string messageType { get; set; }
/// <summary>
///
/// </summary>
public string senderId { get; set; }
/// <summary>
/// 新海运订舱平台
/// </summary>
public string senderName { get; set; }
/// <summary>
///
/// </summary>
public string receiverId { get; set; }
/// <summary>
/// 大简云规则引擎
/// </summary>
public string receiverName { get; set; }
/// <summary>
///
/// </summary>
public string token { get; set; }
/// <summary>
///
/// </summary>
public string version { get; set; }
/// <summary>
///
/// </summary>
public string requestDate { get; set; }
/// <summary>
///
/// </summary>
public string requestAction { get; set; }
}
public class ContaList
{
/// <summary>
///
/// </summary>
public string contaType { get; set; }
/// <summary>
///
/// </summary>
public string contaTypeName { get; set; }
/// <summary>
///
/// </summary>
public string contaNo { get; set; }
/// <summary>
///
/// </summary>
public string sealNo { get; set; }
/// <summary>
///
/// </summary>
public string kindPKGs { get; set; }
/// <summary>
///
/// </summary>
public string tareWeight { get; set; }
/// <summary>
///
/// </summary>
public int pkGs { get; set; }
/// <summary>
///
/// </summary>
public decimal kGs { get; set; }
/// <summary>
///
/// </summary>
public decimal cbm { get; set; }
}
public class OrderMain
{
/// <summary>
///
/// </summary>
public string busiPKId { get; set; }
/// <summary>
///
/// </summary>
public string runType { get; set; }
/// <summary>
///
/// </summary>
public string userId { get; set; }
/// <summary>
/// 郑巧艳
/// </summary>
public string userName { get; set; }
/// <summary>
///
/// </summary>
public string userEmail { get; set; }
/// <summary>
///
/// </summary>
public string tenantId { get; set; }
/// <summary>
/// 青岛和川国际货运代理有限公司
/// </summary>
public string tenantName { get; set; }
/// <summary>
///
/// </summary>
public string yardCode { get; set; }
/// <summary>
/// 神州场站
/// </summary>
public string yardCName { get; set; }
/// <summary>
///
/// </summary>
public string vesselName { get; set; }
/// <summary>
///
/// </summary>
public string vesselCName { get; set; }
/// <summary>
///
/// </summary>
public string voyNo { get; set; }
/// <summary>
///
/// </summary>
public string masterBlNo { get; set; }
/// <summary>
///
/// </summary>
public string houseBlNo { get; set; }
/// <summary>
///
/// </summary>
public string bookingNo { get; set; }
/// <summary>
///
/// </summary>
public string portLoadId { get; set; }
/// <summary>
///
/// </summary>
public string portLoad { get; set; }
/// <summary>
///
/// </summary>
public string portDischargeId { get; set; }
/// <summary>
///
/// </summary>
public string portDischarge { get; set; }
/// <summary>
///
/// </summary>
public string transportId { get; set; }
/// <summary>
///
/// </summary>
public string transport { get; set; }
/// <summary>
///
/// </summary>
public string placeDeliveryId { get; set; }
/// <summary>
///
/// </summary>
public string placeDelivery { get; set; }
/// <summary>
///
/// </summary>
public string destinationId { get; set; }
/// <summary>
///
/// </summary>
public string destination { get; set; }
/// <summary>
///
/// </summary>
public int pkGs { get; set; }
/// <summary>
///
/// </summary>
public decimal kGs { get; set; }
/// <summary>
///
/// </summary>
public decimal cbm { get; set; }
/// <summary>
///
/// </summary>
public string dClass { get; set; }
/// <summary>
///
/// </summary>
public string dunNo { get; set; }
/// <summary>
///
/// </summary>
public string fuDClass { get; set; }
/// <summary>
///
/// </summary>
public string fuDUNNo { get; set; }
/// <summary>
///
/// </summary>
public string haiWu { get; set; }
/// <summary>
///
/// </summary>
public string tempSet { get; set; }
/// <summary>
///
/// </summary>
public string reeferf { get; set; }
/// <summary>
///
/// </summary>
public string humidity { get; set; }
/// <summary>
///
///
///</summary>
///
public string GoodsDescription { get; set; }
public bool IsCreateHtmlPage { get; set; }
public List<ContaList> contaList { get; set; }
}
public class DbRoot
{
/// <summary>
///
/// </summary>
public OrderHead head { get; set; }
/// <summary>
///
/// </summary>
public OrderMain main { get; set; }
}
#region 对比返回
public class DetailList
{
/// <summary>
///
/// </summary>
public string fieldCode { get; set; }
/// <summary>
/// 船名
/// </summary>
public string fieldName { get; set; }
/// <summary>
///
/// </summary>
public string reqVal { get; set; }
/// <summary>
///
/// </summary>
public string targetVal { get; set; }
/// <summary>
///
/// </summary>
public bool isDiff { get; set; }
/// <summary>
///
/// </summary>
public int sort { get; set; }
/// <summary>
///
/// </summary>
public string mergeGroupKey { get; set; }
/// <summary>
///
/// </summary>
public int mergeSort { get; set; }
/// <summary>
///
/// </summary>
public bool isDisplay { get; set; }
/// <summary>
///
/// </summary>
public string primaryKey { get; set; }
/// <summary>
///
/// </summary>
public string mergeHtml { get; set; }
/// <summary>
///
/// </summary>
public string mergeBeforeSplit { get; set; }
/// <summary>
///
/// </summary>
public string msg { get; set; }
/// <summary>
///
/// </summary>
public string pCode { get; set; }
/// <summary>
///
/// </summary>
public bool isPrimaryKey { get; set; }
/// <summary>
///
/// </summary>
public bool isBothEmpty { get; set; }
}
public class Extra
{
/// <summary>
///
/// </summary>
public string origPKId { get; set; }
/// <summary>
///
/// </summary>
public string taskCompareId { get; set; }
/// <summary>
///
/// </summary>
public string mBlNo { get; set; }
/// <summary>
///
/// </summary>
public bool isExistsDiff { get; set; }
/// <summary>
///
/// </summary>
public string compareTime { get; set; }
/// <summary>
///
/// </summary>
public List<DetailList> detailList { get; set; }
}
public class DbReturn
{
/// <summary>
///
/// </summary>
public bool succ { get; set; }
/// <summary>
///
/// </summary>
public int status { get; set; }
/// <summary>
///
/// </summary>
public string msg { get; set; }
/// <summary>
///
/// </summary>
public int total { get; set; }
/// <summary>
///
/// </summary>
public string rows { get; set; }
/// <summary>
///
/// </summary>
public string summary { get; set; }
/// <summary>
///
/// </summary>
public Extra extra { get; set; }
/// <summary>
///
/// </summary>
public string resultHtml { get; set; }
}
#endregion
}