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.

496 lines
13 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.WMS.Core.Op.Dtos
{
public class BookingSlotBaseSaveOutput : BookingSlotBaseSaveInput
{
/// <summary>
/// 日志
/// </summary>
public List<BookingLogDto> LogList { get; set; }
}
public class BookingSlotBaseSaveInput : BookingSlotBaseDto
{
/// <summary>
/// Id
/// </summary>
public long Id { get; set; }
/// <summary>
/// 舱位箱信息
/// </summary>
public List<BookingSlotCtnSaveInput> CtnList { get; set; }
}
/// <summary>
/// dto基类
/// </summary>
public class BookingSlotBaseDto
{
/// <summary>
/// 舱位提单号
/// </summary>
[Description("舱位提单号")]
public string SLOT_BOOKING_NO { get; set; }
/// <summary>
/// 订舱编号
/// </summary>
[Description("订舱编号")]
public string SLOT_NO { get; set; }
/// <summary>
/// 合约号
/// </summary>
[Description("合约号")]
public string CONTRACT_NO { get; set; }
/// <summary>
/// 订舱抬头
/// </summary>
[Description("订舱抬头")]
public string BOOKING_PARTY { get; set; }
/// <summary>
/// 船名
/// </summary>
[Description("船名")]
public string VESSEL { get; set; }
/// <summary>
/// 航次号
/// </summary>
[Description("航次号")]
public string VOYNO { get; set; }
/// <summary>
/// 预计开船日期
/// </summary>
[Description("预计开船日期")]
public DateTime? ETD { get; set; }
/// <summary>
/// 预计到港日期
/// </summary>
[Description("预计到港日期")]
public DateTime? ETA { get; set; }
/// <summary>
/// 收货地代码
/// </summary>
[Description("收货地代码")]
public string PLACERECEIPTID { get; set; }
/// <summary>
/// 收货地
/// </summary>
[Description("收货地")]
public string PLACERECEIPT { get; set; }
/// <summary>
/// 交货地代码
/// </summary>
[Description("交货地代码")]
public string PLACEDELIVERYID { get; set; }
/// <summary>
/// 交货地
/// </summary>
[Description("交货地")]
public string PLACEDELIVERY { get; set; }
/// <summary>
/// 装货港代码
/// </summary>
[Description("装货港代码")]
public string PORTLOADID { get; set; }
/// <summary>
/// 装货港
/// </summary>
[Description("装货港")]
public string PORTLOAD { get; set; }
/// <summary>
/// 卸货港代码
/// </summary>
[Description("卸货港代码")]
public string PORTDISCHARGEID { get; set; }
/// <summary>
/// 卸货港
/// </summary>
[Description("卸货港")]
public string PORTDISCHARGE { get; set; }
/// <summary>
/// 卸货港国家代码
/// </summary>
[Description("卸货港国家代码")]
public string PORTDISCHARGE_COUNTRY_CODE { get; set; }
/// <summary>
/// 卸货港国家名称
/// </summary>
[Description("卸货港国家名称")]
public string PORTDISCHARGE_COUNTRY { get; set; }
/// <summary>
/// 中转港1
/// </summary>
[Description("中转港1")]
public string TRANSFER_PORT_1 { get; set; }
/// <summary>
/// 中转港2
/// </summary>
[Description("中转港2")]
public string TRANSFER_PORT_2 { get; set; }
/// <summary>
/// 船公司代号
/// </summary>
[Description("船公司代号")]
public string CARRIERID { get; set; }
/// <summary>
/// 船公司
/// </summary>
[Description("船公司")]
public string CARRIER { get; set; }
/// <summary>
/// 航线代码(船公司)
/// </summary>
[Description("航线代码(船公司)")]
public string LANECODE { get; set; }
/// <summary>
/// 航线名称(船公司)
/// </summary>
[Description("航线名称(船公司)")]
public string LANENAME { get; set; }
/// <summary>
/// 承运方式 DIRECT_SHIP-直达TRANSFER_SHIP-中转
/// </summary>
[Description("承运方式 DIRECT_SHIP-直达TRANSFER_SHIP-中转")]
public string CARRIAGE_TYPE { get; set; }
/// <summary>
/// 承运方式名称 CONTRACT_ORDER-合约订舱SPOT_ORDER-SPOT订舱
/// </summary>
[Description("承运方式名称 CONTRACT_ORDER-合约订舱SPOT_ORDER-SPOT订舱")]
public string CARRIAGE_TYPE_NAME { get; set; }
/// <summary>
/// 订舱方式 CONTRACT_ORDER-合约订舱SPOT_ORDER-SPOT订舱
/// </summary>
[Description("订舱方式 CONTRACT_ORDER-合约订舱SPOT_ORDER-SPOT订舱")]
public string BOOKING_SLOT_TYPE { get; set; }
/// <summary>
/// 订舱方式名称 CONTRACT_ORDER-合约订舱SPOT_ORDER-SPOT订舱
/// </summary>
[Description("订舱方式名称 CONTRACT_ORDER-合约订舱SPOT_ORDER-SPOT订舱")]
public string BOOKING_SLOT_TYPE_NAME { get; set; }
/// <summary>
/// 签单方式 ORIGINAL-正本TELEX-电放SEAWAY BILL-海运单;
/// </summary>
[Description("签单方式 ORIGINAL-正本TELEX-电放SEAWAY BILL-海运单;")]
public string ISSUETYPE { get; set; }
/// <summary>
/// 箱型箱量
/// </summary>
[Description("箱型箱量")]
public string CTN_STAT { get; set; }
/// <summary>
/// 所在周数
/// </summary>
[Description("所在周数")]
public int? WEEK_AT { get; set; }
/// <summary>
/// 箱使天数
/// </summary>
[Description("箱使天数")]
public int? DETENSION_FREE_DAYS { get; set; }
/// <summary>
/// 样单截止日期
/// </summary>
[Description("样单截止日期")]
public DateTime? SI_CUT_DATE { get; set; }
/// <summary>
/// 截港时间
/// </summary>
[Description("截港时间")]
public DateTime? CY_CUT_DATE { get; set; }
/// <summary>
/// VGM截止日期
/// </summary>
[Description("VGM截止日期")]
public DateTime? VGM_SUBMISSION_CUT_DATE { get; set; }
/// <summary>
/// MDGF提交截止时间
/// </summary>
[Description("MDGF提交截止时间")]
public DateTime? MDGF_CUT_DATE { get; set; }
/// <summary>
/// 舱单截止时间
/// </summary>
[Description("舱单截止时间")]
public DateTime? MANIFEST_CUT_DATE { get; set; }
/// <summary>
/// 是否Cancellation
/// </summary>
[Description("是否Cancellation")]
public bool IS_CANCELLATION { get; set; }
/// <summary>
/// Cancellation时间
/// </summary>
[Description("Cancellation时间")]
public DateTime? CANCELLATION_DATE { get; set; }
/// <summary>
/// 客户样单截止日期
/// </summary>
[Description("客户样单截止日期")]
public Nullable<DateTime> CUSTOM_SI_CUT_DATE { get; set; }
/// <summary>
/// 备注
/// </summary>
[Description("备注")]
public string REMARK { get; set; }
/// <summary>
/// 计费日期
/// </summary>
[Description("计费日期")]
public DateTime? PRICE_CALCULATION_DATE { get; set; }
/// <summary>
/// 舱位关联的订舱信息
/// </summary>
public List<BookingSlotSaleInfoDto> BookingSlotSaleInfoList { get; set; }
/// <summary>
/// 拆票或合票标记 1-拆票 2-合票
/// </summary>
[Description("拆票或合票标记")]
public Nullable<int> SPLIT_OR_MERGE_FLAG { get; set; }
/// <summary>
/// 舱保类型 FULL-全舱保PART-部分舱保
/// </summary>
[Description("舱保类型")]
public string LOAD_GUARANTEE_FLAG { get; set; }
// <summary>
/// 舱保类型名称 FULL-全舱保PART-部分舱保
/// </summary>
[Description("舱保类型名称")]
public string LOAD_GUARANTEE_FLAG_NAME { get; set; }
}
/// <summary>
/// 舱位箱信息保存
/// </summary>
public class BookingSlotCtnSaveInput : BookingSlotCtnDto
{
}
public class BookingSlotCtnDto
{
/// <summary>
/// 箱型代码
/// </summary>
public string CTNCODE { get; set; }
/// <summary>
/// 箱型名称
/// </summary>
public string CTNALL { get; set; }
/// <summary>
/// 箱量
/// </summary>
public int CTNNUM { get; set; }
/// <summary>
/// 箱号
/// </summary>
public string CNTRNO { get; set; }
/// <summary>
/// 箱封号
/// </summary>
public string SEALNO { get; set; }
/// <summary>
/// 件数
/// </summary>
public int PKGS { get; set; }
/// <summary>
/// 包装
/// </summary>
public string KINDPKGS { get; set; }
/// <summary>
/// 毛重
/// </summary>
public decimal KGS { get; set; }
/// <summary>
/// 尺码
/// </summary>
public decimal CBM { get; set; }
/// <summary>
/// 皮重
/// </summary>
public decimal TAREWEIGHT { get; set; }
/// <summary>
/// 箱状态
/// </summary>
public string CTNSTATUS { get; set; }
/// <summary>
/// 称重方式
/// </summary>
public string WEIGHTYPE { get; set; }
/// <summary>
/// 称重重量
/// </summary>
public decimal WEIGHKGS { get; set; }
/// <summary>
/// 称重联系人
/// </summary>
public string WEIGHATTN { get; set; }
/// <summary>
/// 总计箱量
/// </summary>
public int TOTALNUM { get; set; }
}
/// <summary>
/// 舱位销售信息
/// </summary>
public class BookingSlotSaleInfoDto
{
/// <summary>
/// 关联关系主键
/// </summary>
public long Id { get; set; }
/// <summary>
/// 订舱主键
/// </summary>
public long BOOKING_ID { get; set; }
/// <summary>
/// 舱位主键
/// </summary>
public long BOOKING_SLOT_ID { get; set; }
/// <summary>
/// 客户ID
/// </summary>
public long? CUSTOMERID { get; set; }
/// <summary>
/// 客户名称
/// </summary>
public string CUSTOMERNAME { get; set; }
/// <summary>
/// 客服ID
/// </summary>
public string CUSTSERVICEID { get; set; }
/// <summary>
/// 客服名称
/// </summary>
public string CUSTSERVICE { get; set; }
/// <summary>
/// 销售ID
/// </summary>
public string SALEID { get; set; }
/// <summary>
/// 销售名称
/// </summary>
public string SALE { get; set; }
/// <summary>
/// 操作id
/// </summary>
public string OPID { get; set; }
/// <summary>
/// 操作
/// </summary>
public string OP { get; set; }
/// <summary>
/// 单证id
/// </summary>
public string DOCID { get; set; }
/// <summary>
/// 单证
/// </summary>
public string DOC { get; set; }
/// <summary>
/// 商务id
/// </summary>
public string BUSINESSID { get; set; }
/// <summary>
/// 商务
/// </summary>
public string BUSINESS { get; set; }
/// <summary>
/// 销售日期
/// </summary>
public DateTime? SALE_TIME { get; set; }
/// <summary>
/// 发货人
/// </summary>
public string SHIPPER { get; set; }
/// <summary>
/// 品名
/// </summary>
public string GOODSNAME { get; set; }
/// <summary>
/// 卖价
/// </summary>
public decimal? SELLING_PRICE { get; set; }
/// <summary>
/// 修改标记,前端提供给后端判断是否更新
/// </summary>
public bool UpdateFlag { get; set; }
public long? CreatedUserId { get; set; }
}
}