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.
BookingHeChuan/Myshipping.Application/Entity/BookingDeliveryRecord.cs

571 lines
15 KiB
C#

using Dm;
using MathNet.Numerics.LinearAlgebra.Factorization;
using Myshipping.Core.Entity;
using NPOI.SS.Formula.Functions;
using Org.BouncyCastle.Ocsp;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Myshipping.Application.Entity
{
/// <summary>
/// 订舱递送记录表箱信息
/// </summary>
[SugarTable("booking_delivery_record")]
[Description("订舱递送记录表")]
public class BookingDeliveryRecord : DBEntityTenant
{
/// <summary>
/// 订舱ID
/// </summary>
public long BookingId { get; set; }
/// <summary>
/// 船公司代号
/// </summary>
public string CARRIERID { get; set; }
/// <summary>
/// 船公司
/// </summary>
public string CARRIER { get; set; }
/// <summary>
/// 合约号主键
/// </summary>
public Nullable<long> PRICE_REFERENCE_ID { get; set; }
/// <summary>
/// 合约号
/// </summary>
public string PRICE_REFERENCE { get; set; }
/// <summary>
/// 合约号名称
/// </summary>
public string PRICE_REFERENCE_NAME { get; set; }
/// <summary>
/// 产品类型
/// </summary>
public string PRODUCT_CODE { get; set; }
/// <summary>
/// 请求类别
/// </summary>
public string SENDER { get; set; }
/// <summary>
/// 订舱公司名称(英文全称)
/// </summary>
public string BOOKEDBY_COMPANY_NAME { get; set; }
/// <summary>
/// 订舱公司代码
/// </summary>
public string BOOKEDBY_COMPANY_PARTYCODE { get; set; }
/// <summary>
/// 订舱公司联系人名称
/// </summary>
public string BOOKEDBY_COMPANY_CONTACT { get; set; }
/// <summary>
/// 订舱公司联系人邮箱
/// </summary>
public string BOOKEDBY_COMPANY_CONTACT_EMAIL { get; set; }
/// <summary>
/// 当前订舱公司是否也是合约方 1-标识合约信息跟订舱公司一致0-标识有单独的合约方
/// </summary>
public bool IS_BOOKING_PART_OWN_PRICE { get; set; }
/// <summary>
/// 价格所有者公司名称
/// </summary>
public string PRICE_OWNER_COMPANY_NAME { get; set; }
/// <summary>
/// 价格所有者代码
/// </summary>
public string PRICE_OWNER_COMPANY_PARTYCODE { get; set; }
/// <summary>
/// 价格所有者公司联系人名称
/// </summary>
public string PRICE_OWNER_COMPANY_CONTACT { get; set; }
/// <summary>
/// 价格所有者公司联系人邮箱
/// </summary>
public string PRICE_OWNER_COMPANY_CONTACT_EMAIL { get; set; }
/// <summary>
/// 价格所有者合约号主键
/// </summary>
public Nullable<long> PRICE_OWNER_REFERENCE_ID { get; set; }
/// <summary>
/// 价格所有者合约号
/// </summary>
public string PRICE_OWNER_REFERENCE { get; set; }
/// <summary>
/// 价格所有者合约号名称
/// </summary>
public string PRICE_OWNER_REFERENCE_NAME { get; set; }
/// <summary>
/// 承运人代码
/// </summary>
public string CARRIER_CODE { get; set; }
/// <summary>
/// 最早起运日期
/// </summary>
public Nullable<DateTime> EARLIEST_DEPARTURE_DATE { get; set; }
/// <summary>
/// 出口服务类型
/// </summary>
public string EXPORT_SERVICE_MODE { get; set; }
/// <summary>
/// 进口服务类型
/// </summary>
public string IMPORT_SERVICE_MODE { get; set; }
/// <summary>
/// 收货地城市英文名称
/// </summary>
public string PLACERECEIPT_CITY { get; set; }
/// <summary>
/// 收货地UN地点代码
/// </summary>
public string PLACERECEIPT_UNLOC_CODE { get; set; }
/// <summary>
/// 收货地国家代码
/// </summary>
public string PLACERECEIPT_COUNTRY_CODE { get; set; }
/// <summary>
/// 收货地代码
/// </summary>
public string PLACERECEIPTID { get; set; }
/// <summary>
/// 收货地
/// </summary>
public string PLACERECEIPT { get; set; }
/// <summary>
/// 交货地城市英文名称
/// </summary>
public string PLACEDELIVERY_CITY { get; set; }
/// <summary>
/// 交货地UN地点代码
/// </summary>
public string PLACEDELIVERY_UNLOC_CODE { get; set; }
/// <summary>
/// 交货地国家代码
/// </summary>
public string PLACEDELIVERY_COUNTRY_CODE { get; set; }
/// <summary>
/// 预计开船日期
/// </summary>
public Nullable<DateTime> ETD { get; set; }
/// <summary>
/// 预计到港日期
/// </summary>
public Nullable<DateTime> ETA { get; set; }
/// <summary>
/// 预计航行天数
/// </summary>
public Nullable<int> EST_SAILING_DAYS { get; set; }
/// <summary>
/// 船名
/// </summary>
public string VESSEL { get; set; }
/// <summary>
/// 船名代码
/// </summary>
public string VESSEL_CODE { get; set; }
/// <summary>
/// 航次号
/// </summary>
public string VOYNO { get; set; }
/// <summary>
/// 运输方式
/// </summary>
public string TRANSPORT_MODE { get; set; }
/// <summary>
/// 重量
/// </summary>
public Nullable<int> TOTAL_CARGO_WEIGHT { get; set; }
/// <summary>
/// 是否冷冻处理 1-是0-否
/// </summary>
public bool IS_REEFER { get; set; }
/// <summary>
/// 温度探头的数量
/// </summary>
public Nullable<int> NO_OF_PROBES { get; set; }
/// <summary>
/// 设置温度
/// </summary>
public string TEMPSET { get; set; }
/// <summary>
/// 温度单位
/// </summary>
public string TEMPID { get; set; }
/// <summary>
/// 通风度
/// </summary>
public Nullable<int> VENT { get; set; }
/// <summary>
/// 湿度
/// </summary>
public Nullable<int> HUMIDITY { get; set; }
/// <summary>
/// 货物标识
/// </summary>
public string CARGOID { get; set; }
/// <summary>
/// 货物代码类型
/// </summary>
public string COMMODITY_CODE_TYPE { get; set; }
/// <summary>
/// 品名代码
/// </summary>
public string GOODSCODE { get; set; }
/// <summary>
/// 品名
/// </summary>
public string GOODSNAME { get; set; }
/// <summary>
/// 货物类型
/// </summary>
public string CARGO_TYPE { get; set; }
/// <summary>
/// 托运人自己的集装箱
/// </summary>
public bool IS_SHIPPER_OWNED { get; set; }
/// <summary>
/// 进口退货集装箱或者其他三角集运
/// </summary>
public bool IS_IMPORT_RETURNED { get; set; }
/// <summary>
/// 交货地代码
/// </summary>
public string PLACEDELIVERYID { get; set; }
/// <summary>
/// 交货地
/// </summary>
public string PLACEDELIVERY { 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 LANECODE { get; set; }
/// <summary>
/// 航线名称(船公司)
/// </summary>
public string LANENAME { get; set; }
/// <summary>
/// 承运方式 DIRECT_SHIP-直达TRANSFER_SHIP-中转
/// </summary>
public string CARRIAGE_TYPE { get; set; }
/// <summary>
/// 承运方式名称 CONTRACT_ORDER-合约订舱SPOT_ORDER-SPOT订舱
/// </summary>
public string CARRIAGE_TYPE_NAME { get; set; }
/// <summary>
/// 订舱方式 CONTRACT_ORDER-合约订舱SPOT_ORDER-SPOT订舱
/// </summary>
public string BOOKING_SLOT_TYPE { get; set; }
/// <summary>
/// 订舱方式名称 CONTRACT_ORDER-合约订舱SPOT_ORDER-SPOT订舱
/// </summary>
public string BOOKING_SLOT_TYPE_NAME { get; set; }
/// <summary>
/// 签单方式 ORIGINAL-正本TELEX-电放SEAWAY BILL-海运单;
/// </summary>
public string ISSUETYPE { get; set; }
/// <summary>
/// 箱型箱量
/// </summary>
public string CTN_STAT { get; set; }
/// <summary>
/// 所在周数
/// </summary>
public string WEEK_AT { get; set; }
/// <summary>
/// 发送时间
/// </summary>
public Nullable<DateTime> SEND_TIME { get; set; }
/// <summary>
/// 是否定时任务 1-是 0-否
/// </summary>
public bool IS_JOB { get; set; }
/// <summary>
/// 是否定时任务 1-是 0-否
/// </summary>
public Nullable<DateTime> JOB_TIME { get; set; }
/// <summary>
/// 危险品类别
/// </summary>
public string DCLASS { get; set; }
/// <summary>
/// 危险品编号
/// </summary>
public string DUNNO { get; set; }
/// <summary>
/// 危险品页号
/// </summary>
public string DPAGE { get; set; }
/// <summary>
/// 危险品标签
/// </summary>
public string DLABEL { get; set; }
/// <summary>
/// 危险品联系人
/// </summary>
public string LINKMAN { get; set; }
/// <summary>
/// 预计运输天数
/// </summary>
public Nullable<int> TRANSPORT_EST_DAY { get; set; }
/// <summary>
/// 订舱回执ID
/// </summary>
public string REQUEST_ACKNOWLEDGEMENT_ID { get; set; }
/// <summary>
/// 订舱回执预定号
/// </summary>
public string BOOKING_REFERENCE { get; set; }
/// <summary>
/// 状态 SUCC-成功FAILURE-失败
/// </summary>
public string STATUS { get; set; }
/// <summary>
/// 状态名称 SUCC-成功FAILURE-失败
/// </summary>
public string STATUS_NAME { get; set; }
/// <summary>
/// 发送备注
/// </summary>
public string NOTES { get; set; }
/// <summary>
/// 是否已有BC
/// </summary>
public bool IS_RECV_BC { get; set; }
/// <summary>
/// 最后BC接收时间
/// </summary>
public Nullable<DateTime> LST_RECV_BC_DATE { get; set; }
/// <summary>
/// 是否已有BookingCancellation
/// </summary>
public bool IS_RECV_BK_CANCEL { get; set; }
/// <summary>
/// 最后BookingCancellation接收时间
/// </summary>
public Nullable<DateTime> LST_RECV_BK_CANCEL_DATE { get; set; }
/// <summary>
/// 船期ID
/// </summary>
public string CARRIER_PRODUCT_ID { get; set; }
/// <summary>
/// 是否不使用船期表订舱
/// </summary>
public bool IS_SEND_NO_SCHEDULE { get; set; }
/// <summary>
/// 收货地国家名称
/// </summary>
public string PLACERECEIPT_COUNTRY_NAME { get; set; }
/// <summary>
/// 收货地行政名称
/// </summary>
public string PLACERECEIPT_REGION_NAME { get; set; }
/// <summary>
/// 用户录入收货地城市英文名称
/// </summary>
public string USER_PLACERECEIPT_CITY { get; set; }
/// <summary>
/// 用户录入收货地UN地点代码
/// </summary>
public string USER_PLACERECEIPT_UNLOC_CODE { get; set; }
/// <summary>
/// 用户录入收货地国家代码
/// </summary>
public string USER_PLACERECEIPT_COUNTRY_CODE { get; set; }
/// <summary>
/// 用户录入收货地国家名称
/// </summary>
public string USER_PLACERECEIPT_COUNTRY_NAME { get; set; }
/// <summary>
/// 用户录入收货地行政名称
/// </summary>
public string USER_PLACERECEIPT_REGION_NAME { get; set; }
/// <summary>
/// 交货地国家名称
/// </summary>
public string PLACEDELIVERY_COUNTRY_NAME { get; set; }
/// <summary>
/// 交货地行政名称
/// </summary>
public string PLACEDELIVERY_REGION_NAME { get; set; }
/// <summary>
/// 用户录入交货地城市英文名称
/// </summary>
public string USER_PLACEDELIVERY_CITY { get; set; }
/// <summary>
/// 用户录入交货地UN地点代码
/// </summary>
public string USER_PLACEDELIVERY_UNLOC_CODE { get; set; }
/// <summary>
/// 用户录入交货地国家代码
/// </summary>
public string USER_PLACEDELIVERY_COUNTRY_CODE { get; set; }
/// <summary>
/// 用户录入交货地国家名称
/// </summary>
public string USER_PLACEDELIVERY_COUNTRY_NAME { get; set; }
/// <summary>
/// 用户录入交货地行政名称
/// </summary>
public string USER_PLACEDELIVERY_REGION_NAME { get; set; }
/// <summary>
/// 订舱通道类型
/// </summary>
public string BOOKING_CHANNEL_TYPE { get; set; }
/// <summary>
/// 订舱通道类型名称
/// </summary>
public string BOOKING_CHANNEL_TYPE_NAME { get; set; }
/// <summary>
/// 价格IDSPOT专用对应单个船期
/// </summary>
public string PRICE_ID { get; set; }
/// <summary>
/// 船期金额
/// </summary>
public Nullable<decimal> SHIP_RATE_TOTAL_AMOUNT { get; set; }
/// <summary>
/// 船期币别
/// </summary>
public string SHIP_RATE_TOTAL_CURRENCY { get; set; }
/// <summary>
/// 船期PID
/// </summary>
public Nullable<long> SHIP_RATE_PID { get; set; }
/// <summary>
/// 船期MD5
/// </summary>
public string SHIP_RATE_MD5 { get; set; }
}
}