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.

707 lines
18 KiB
C#

using SqlSugar;
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<DS.WMS.Core.Sys.Dtos.AuditLogBookingDto> LogList { get; set; }
}
public class BookingSlotBaseSaveInput : BookingSlotBaseDto
{
/// <summary>
/// Id
/// </summary>
public long Id { get; set; }
/// <summary>
/// 舱位箱信息
/// </summary>
public List<BookingSlotCtnSaveInput> CtnList { get; set; }
/// <summary>
/// 舱位用途列表
/// </summary>
public List<BookingSlotUseToDto> UseToList { get; set; }
}
/// <summary>
/// dto基类
/// </summary>
public class BookingSlotBaseDto
{
/// <summary>
/// 舱位提单号
/// </summary>
[Description("舱位提单号")]
public string SlotBookingNo { get; set; }
/// <summary>
/// 订舱编号
/// </summary>
[Description("订舱编号")]
public string SlotNo { get; set; }
/// <summary>
/// 合约号
/// </summary>
[Description("合约号")]
public string ContractNo { get; set; }
/// <summary>
/// 订舱抬头
/// </summary>
[Description("订舱抬头")]
public string BookingParty { 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("收货地代码")]
5 months ago
public string PlaceReceiptCode { get; set; }
/// <summary>
/// 收货地主键
/// </summary>
[Description("收货地主键")]
public Nullable<long> PlaceReceiptId { get; set; }
/// <summary>
/// 收货地
/// </summary>
[Description("收货地")]
public string PlaceReceipt { get; set; }
/// <summary>
/// 交货地代码
/// </summary>
[Description("交货地代码")]
5 months ago
public string PlaceDeliveryCode { get; set; }
/// <summary>
/// 交货地主键
/// </summary>
public Nullable<long> PlaceDeliveryId { get; set; }
/// <summary>
/// 交货地
/// </summary>
[Description("交货地")]
public string PlaceDelivery { get; set; }
/// <summary>
/// 装货港代码
/// </summary>
[Description("装货港代码")]
5 months ago
public string PortLoadCode { get; set; }
/// <summary>
/// 装货港主键
/// </summary>
public Nullable<long> PortLoadId { get; set; }
/// <summary>
/// 装货港
/// </summary>
[Description("装货港")]
public string PortLoad { get; set; }
/// <summary>
/// 卸货港代码
/// </summary>
[Description("卸货港代码")]
5 months ago
public string PortDischargeCode { get; set; }
/// <summary>
/// 卸货港主键
/// </summary>
public Nullable<long> PortDischargeId { get; set; }
/// <summary>
/// 卸货港
/// </summary>
[Description("卸货港")]
public string PortDischarge { get; set; }
/// <summary>
/// 卸货港国家代码
/// </summary>
[Description("卸货港国家代码")]
public string PortDischargeCountryCode { get; set; }
/// <summary>
/// 卸货港国家名称
/// </summary>
[Description("卸货港国家名称")]
public string PortDischargeCountry { get; set; }
/// <summary>
/// 中转港1
/// </summary>
[Description("中转港1")]
public string TransferPort1 { get; set; }
/// <summary>
/// 中转港2
/// </summary>
[Description("中转港2")]
public string TransferPort2 { get; set; }
/// <summary>
/// 船公司ID
/// </summary>
[Description("船公司ID")]
public Nullable<long> CarrierId { get; set; }
/// <summary>
/// 船公司代码
/// </summary>
[Description("船公司代码")]
public string CarrierCode { 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 CarriageType { get; set; }
/// <summary>
/// 承运方式名称 CONTRACT_ORDER-合约订舱SPOT_ORDER-SPOT订舱
/// </summary>
[Description("承运方式名称 CONTRACT_ORDER-合约订舱SPOT_ORDER-SPOT订舱")]
public string CarriageTypeName { get; set; }
/// <summary>
/// 订舱方式 CONTRACT_ORDER-合约订舱SPOT_ORDER-SPOT订舱
/// </summary>
[Description("订舱方式 CONTRACT_ORDER-合约订舱SPOT_ORDER-SPOT订舱")]
public string BookingSlotType { get; set; }
/// <summary>
/// 订舱方式名称 CONTRACT_ORDER-合约订舱SPOT_ORDER-SPOT订舱
/// </summary>
[Description("订舱方式名称 CONTRACT_ORDER-合约订舱SPOT_ORDER-SPOT订舱")]
public string BookingSlotTypeName { get; set; }
/// <summary>
/// 签单方式 ORIGINAL-正本TELEX-电放SEAWAY BILL-海运单;
/// </summary>
[Description("签单方式 ORIGINAL-正本TELEX-电放SEAWAY BILL-海运单;")]
public string IssueType { get; set; }
/// <summary>
/// 箱型箱量
/// </summary>
[Description("箱型箱量")]
public string CtnStat { get; set; }
/// <summary>
/// 所在周数
/// </summary>
[Description("所在周数")]
public int? WeekAt { get; set; }
/// <summary>
/// 箱使天数
/// </summary>
[Description("箱使天数")]
public int? DetensionFreeDays { get; set; }
/// <summary>
/// 样单截止日期
/// </summary>
[Description("样单截止日期")]
public DateTime? SICutDate { get; set; }
/// <summary>
/// 截港时间
/// </summary>
[Description("截港时间")]
public DateTime? CYCutDate { get; set; }
/// <summary>
/// VGM截止日期
/// </summary>
[Description("VGM截止日期")]
public DateTime? VGMSubmissionCutDate { get; set; }
/// <summary>
/// MDGF提交截止时间
/// </summary>
[Description("MDGF提交截止时间")]
public DateTime? MDGFCutDate { get; set; }
/// <summary>
/// 舱单截止时间
/// </summary>
[Description("舱单截止时间")]
public DateTime? ManifestCutDate { get; set; }
/// <summary>
/// 是否Cancellation
/// </summary>
[Description("是否Cancellation")]
public bool IsCancellation { get; set; }
/// <summary>
/// Cancellation时间
/// </summary>
[Description("Cancellation时间")]
public DateTime? CancellationDate { get; set; }
/// <summary>
/// 客户样单截止日期
/// </summary>
[Description("客户样单截止日期")]
public Nullable<DateTime> CustomSICutDate { get; set; }
/// <summary>
/// 备注
/// </summary>
[Description("备注")]
public string Remark { get; set; }
/// <summary>
/// 计费日期
/// </summary>
[Description("计费日期")]
public DateTime? PriceCalculationDate { get; set; }
/// <summary>
/// 舱位关联的订舱信息
/// </summary>
public List<BookingSlotSaleInfoDto> BookingSlotSaleInfoList { get; set; }
/// <summary>
/// 拆票或合票标记 1-拆票 2-合票
/// </summary>
[Description("拆票或合票标记")]
public Nullable<int> SplitOrMergeFlag { get; set; }
/// <summary>
/// 舱保类型 FULL-全舱保PART-部分舱保
/// </summary>
[Description("舱保类型")]
public string LoadGuaranteeFlag { get; set; }
// <summary>
/// 舱保类型名称 FULL-全舱保PART-部分舱保
/// </summary>
[Description("舱保类型名称")]
public string LoadGuaranteeFlagName { get; set; }
5 months ago
/// <summary>
/// 主键ID
/// </summary>
public long Id { get; set; }
/// <summary>
/// 备注
/// </summary>
public string Note { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime CreateTime { get; set; }
/// <summary>
/// 创建人
/// </summary>
public long CreateBy { get; set; }
/// <summary>
/// 创建人名称
/// </summary>
public string CreateUserName { get; set; }
/// <summary>
/// 修改人
/// </summary>
public long UpdateBy { get; set; }
/// <summary>
/// 修改人名称
/// </summary>
public string UpdateUserName { get; set; }
/// <summary>
/// 更新时间
/// </summary>
public DateTime UpdateTime { get; set; }
/// <summary>
/// 标签列表
/// </summary>
public List<BookingLabelBaseDto> LabelList { get; set; }
/// <summary>
/// VGM回执
/// </summary>
public string VGMRltStat { get; set; }
/// <summary>
/// SI回执
/// </summary>
public string SIRltStat { get; set; }
/// <summary>
/// 提箱回执
/// </summary>
public string TakeCtnRltStat { get; set; }
/// <summary>
/// 还箱回执
/// </summary>
public string ReturnCtnRltStat { get; set; }
/// <summary>
/// 预甩回执
/// </summary>
public string NominationRltStat { get; set; }
/// <summary>
/// BC变更回执
/// </summary>
public string AmendmentRltStat { get; set; }
/// <summary>
/// BC取消回执
/// </summary>
public string CancellationRltStat { get; set; }
/// <summary>
/// 目的港卸船未提货回执
/// </summary>
public string DischargeFullRltStat { get; set; }
/// <summary>
/// 目的港提箱未还空箱回执
/// </summary>
public string GateOutFullRltStat { get; set; }
4 months ago
/// <summary>
/// 船公司航次
/// </summary>
public string CarrierVoyno { get; set; }
/// <summary>
/// 提箱场站
/// </summary>
public string TakeCtnYard { get; set; }
/// <summary>
/// 更新标记 ORIGINAL-原BC文件 CANCELLATION-取消 REJECTION-拒绝 1ST UPDATE-首次更新 2ND-2次 3RD-3次 4TH..多次)
/// </summary>
public string UpdateFlag { get; set; }
/// <summary>
/// 船公司参考号
/// </summary>
public string CarrierReferNo { get; set; }
/// <summary>
/// 用户参考号
/// </summary>
public string UserReferNo { get; set; }
/// <summary>
/// 提单类型MBL-Master单,HBL-House单
/// </summary>
public string BLIssueType { get; set; }
/// <summary>
/// 委托编号
/// </summary>
public string CustomerNo { get; set; }
/// <summary>
/// 销售机构部门id
/// </summary>
public Nullable<long> SaleOrgId { get; set; }
/// <summary>
/// 销售机构部门
/// </summary>
public string SaleOrgName { get; set; }
/// <summary>
/// 销售部门id
/// </summary>
public Nullable<long> SaleDeptId { get; set; }
/// <summary>
/// 销售部门
/// </summary>
public string SaleDeptName { 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 BookingId { get; set; }
/// <summary>
/// 舱位主键
/// </summary>
public long BookingSlotId { get; set; }
/// <summary>
/// 客户ID
/// </summary>
public Nullable<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 Nullable<DateTime> SaleTime { get; set; }
/// <summary>
/// 发货人
/// </summary>
public string Shipper { get; set; }
/// <summary>
/// 品名
/// </summary>
public string GoodsName { get; set; }
/// <summary>
/// 卖价
/// </summary>
public Nullable<decimal> SellingPrice { get; set; }
/// <summary>
/// 修改标记,前端提供给后端判断是否更新
/// </summary>
public bool UpdateFlag { get; set; }
/// <summary>
/// 备注
/// </summary>
public string Note { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime CreateTime { get; set; }
/// <summary>
/// 创建人
/// </summary>
public long CreateBy { get; set; }
/// <summary>
/// 创建人名称
/// </summary>
public string CreateUserName { get; set; }
/// <summary>
/// 修改人
/// </summary>
public long UpdateBy { get; set; }
/// <summary>
/// 修改人名称
/// </summary>
public string UpdateUserName { get; set; }
/// <summary>
/// 更新时间
/// </summary>
public DateTime UpdateTime { get; set; }
}
}