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/DSWeb/Areas/MvcShipping/Models/MsOpSeae/MsOpSeaeDjy.cs

274 lines
7.7 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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; }
/// <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 static class OpCtnOrderEditViewModelExt
//{
// public static OpCtnOrderEditViewModel AsOrderEditViewModel(this OP_CTN model)
// {
// return Mapper.Map<OpCtnOrderEditViewModel>(model);
// }
// public static OP_CTN AsModel(this OpCtnOrderEditViewModel model)
// {
// return Mapper.Map<OP_CTN>(model);
// }
// public static List<OpCtnOrderEditViewModel> AsOrderEditViewModelList(this IEnumerable<OP_CTN> model)
// {
// return Mapper.Map<List<OpCtnOrderEditViewModel>>(model);
// }
// public static List<OP_CTN> AsModelList(this IEnumerable<OpCtnOrderEditViewModel> model)
// {
// return Mapper.Map<List<OP_CTN>>(model);
// }
//}
//
}