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/BookingCustomerOrder.cs

932 lines
27 KiB
C#

using System;
using SqlSugar;
using System.ComponentModel;
using Myshipping.Core.Entity;
namespace Myshipping.Application.Entity
{
/// <summary>
/// 客户订舱
/// </summary>
[SugarTable("booking_customer_order")]
[Description("客户订舱")]
public class BookingCustomerOrder : DBEntityTenant
{
/// <summary>
/// 其他业务系统ID
/// </summary>
public string BSNO { get; set; }
/// <summary>
/// 业务状态
/// </summary>
public string BSSTATUS { get; set; }
/// <summary>
/// 业务日期
/// </summary>
public DateTime? BSDATE { get; set; }
/// <summary>
/// 系统编号
/// </summary>
public string BOOKINGNO { get; set; }
/// <summary>
/// 船名
/// </summary>
public string VESSEL { get; set; }
/// <summary>
/// 海关航次
/// </summary>
public string VOYNO { get; set; }
/// <summary>
/// 内部航次
/// </summary>
public string VOYNOINNER { get; set; }
/// <summary>
/// 场站代码
/// </summary>
public string YARDID { get; set; }
/// <summary>
/// 场站
/// </summary>
public string YARD { get; set; }
/// <summary>
/// 开船日期
/// </summary>
public DateTime? ETD { get; set; }
/// <summary>
/// 合约号
/// </summary>
public string CONTRACTNO { get; set; }
/// <summary>
/// 发货人
/// </summary>
public string SHIPPER { get; set; }
/// <summary>
/// 收货人
/// </summary>
public string CONSIGNEE { get; set; }
/// <summary>
/// 通知人
/// </summary>
public string NOTIFYPARTY { get; set; }
/// <summary>
/// 第二通知人
/// </summary>
public string NOTIFYPARTY2 { 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 SERVICE { get; set; }
/// <summary>
/// 付费方式
/// </summary>
public string BLFRT { get; set; }
/// <summary>
/// HS代码
/// </summary>
public string HSCODE { get; set; }
/// <summary>
/// 货描
/// </summary>
public string DESCRIPTION { 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 string TOTALNO { get; set; }
/// <summary>
/// 集装箱
/// </summary>
public string CNTRTOTAL { get; set; }
/// <summary>
/// 船公司代号
/// </summary>
public string CARRIERID { get; set; }
/// <summary>
/// 船公司
/// </summary>
public string CARRIER { get; set; }
/// <summary>
/// 货物标识
/// </summary>
public string CARGOID { 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 string DTEL { get; set; }
/// <summary>
/// 温度单位
/// </summary>
public string TEMPID { 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 TEMPMIN { get; set; }
/// <summary>
/// 最高温度
/// </summary>
public string TEMPMAX { get; set; }
/// <summary>
/// SO备注
/// </summary>
public string SOREMARK { get; set; }
/// <summary>
/// 租户名称
/// </summary>
public string TenantName { get; set; }
/// <summary>
/// 订舱台账ID
/// </summary>
public long BookingId { get; set; }
/// <summary>
/// 订舱租户id
/// </summary>
public long BookingTenantId { get; set; }
/// <summary>
/// 订舱租户名称
/// </summary>
public string BookingTenantName { get; set; }
/// <summary>
/// 订舱租户大简云公司id
/// </summary>
public string BookingCompanyId { get; set; }
/// <summary>
/// 订舱用户id
/// </summary>
public long BookingUserId { get; set; }
/// <summary>
/// 订舱用户名称
/// </summary>
public string BookingUserName { get; set; }
/// <summary>
/// 订舱大简云用户id
/// </summary>
public string BookingDjyUserId { get; set; }
/// <summary>
/// 箱长
/// </summary>
public decimal CtrnLength { get; set; }
/// <summary>
/// 箱宽
/// </summary>
public decimal CtrnWidth { get; set; }
/// <summary>
/// 箱高
/// </summary>
public decimal CtrnHeight { get; set; }
/// <summary>
/// 销售代码
/// </summary>
public string SaleCode { get; set; }
/// <summary>
/// 回推数据接口url
/// </summary>
public string FeedbackUrl { get; set; }
/// <summary>
/// 回推接口Key
/// </summary>
public string FeedbackKey { get; set; }
/// <summary>
/// 回推接口秘钥
/// </summary>
public string FeedbackSecret { get; set; }
/// <summary>
/// 操作备注
/// </summary>
public string CZRemark { get; set; }
/// <summary>
/// 目的地代码
/// </summary>
public string DESTINATIONID { get; set; }
/// <summary>
/// 目的地
/// </summary>
public string DESTINATION { get; set; }
/// <summary>
/// 附加数据
/// </summary>
public string ExtendData { get; set; }
/// <summary>
/// 起运港唯一代码
/// </summary>
public string PORTLOADCODE { get; set; }
/// <summary>
/// 目的港唯一代码
/// </summary>
public string PORTDISCHARGECODE { get; set; }
/// <summary>
/// 目的地唯一代码
/// </summary>
public string DESTINATIONCODE { get; set; }
/// <summary>
/// 付费方式代码
/// </summary>
public string FRTCODE { get; set; }
/// <summary>
/// 运输条款代码
/// </summary>
public string SERVICECODE { get; set; }
/// <summary>
/// 船公司航线代码
/// </summary>
public string LANECODE { get; set; }
/// <summary>
/// 发货人名称
/// </summary>
[SugarColumn(ColumnName = "ShipperName")]
[Description("发货人名称")]
public string ShipperName { get; set; }
/// <summary>
/// 发货人地址
/// </summary>
[SugarColumn(ColumnName = "ShipperAddress")]
[Description("发货人地址")]
public string ShipperAddress { get; set; }
/// <summary>
/// 发货人国家
/// </summary>
[SugarColumn(ColumnName = "ShipperCountry")]
[Description("发货人国家")]
public string ShipperCountry { get; set; }
/// <summary>
/// 发货人省份
/// </summary>
[SugarColumn(ColumnName = "ShipperProvince")]
[Description("发货人省份")]
public string ShipperProvince { get; set; }
/// <summary>
/// 发货人城市
/// </summary>
[SugarColumn(ColumnName = "ShipperCity")]
[Description("发货人城市")]
public string ShipperCity { get; set; }
/// <summary>
/// 发货人区县
/// </summary>
[SugarColumn(ColumnName = "ShipperCounty")]
[Description("发货人区县")]
public string ShipperCounty { get; set; }
/// <summary>
/// 发货人邮政编码
/// </summary>
[SugarColumn(ColumnName = "ShipperPostCode")]
[Description("发货人邮政编码")]
public string ShipperPostCode { get; set; }
/// <summary>
/// 发货人联系人名
/// </summary>
[SugarColumn(ColumnName = "ShipperFirstName")]
[Description("发货人联系人名")]
public string ShipperFirstName { get; set; }
/// <summary>
/// 发货人联系人姓
/// </summary>
[SugarColumn(ColumnName = "ShipperLastName")]
[Description("发货人联系人姓")]
public string ShipperLastName { get; set; }
/// <summary>
/// 发货人电话国家代码
/// </summary>
[SugarColumn(ColumnName = "ShipperPhoneCountryCode")]
[Description("发货人电话国家代码")]
public string ShipperPhoneCountryCode { get; set; }
/// <summary>
/// 发货人电话区号
/// </summary>
[SugarColumn(ColumnName = "ShipperPhoneCode")]
[Description("发货人电话区号")]
public string ShipperPhoneCode { get; set; }
/// <summary>
/// 发货人电话
/// </summary>
[SugarColumn(ColumnName = "ShipperPhone")]
[Description("发货人电话")]
public string ShipperPhone { get; set; }
/// <summary>
/// 发货人分机号
/// </summary>
[SugarColumn(ColumnName = "ShipperPhoneExtension")]
[Description("发货人分机号")]
public string ShipperPhoneExtension { get; set; }
/// <summary>
/// 收货人名称
/// </summary>
[SugarColumn(ColumnName = "ConsigneeName")]
[Description("收货人名称")]
public string ConsigneeName { get; set; }
/// <summary>
/// 收货人地址
/// </summary>
[SugarColumn(ColumnName = "ConsigneeAddress")]
[Description("收货人地址")]
public string ConsigneeAddress { get; set; }
/// <summary>
/// 收货人国家
/// </summary>
[SugarColumn(ColumnName = "ConsigneeCountry")]
[Description("收货人国家")]
public string ConsigneeCountry { get; set; }
/// <summary>
/// 收货人省份
/// </summary>
[SugarColumn(ColumnName = "ConsigneeProvince")]
[Description("收货人省份")]
public string ConsigneeProvince { get; set; }
/// <summary>
/// 收货人城市
/// </summary>
[SugarColumn(ColumnName = "ConsigneeCity")]
[Description("收货人城市")]
public string ConsigneeCity { get; set; }
/// <summary>
/// 收货人区县
/// </summary>
[SugarColumn(ColumnName = "ConsigneeCounty")]
[Description("收货人区县")]
public string ConsigneeCounty { get; set; }
/// <summary>
/// 收货人邮政编码
/// </summary>
[SugarColumn(ColumnName = "ConsigneePostCode")]
[Description("收货人邮政编码")]
public string ConsigneePostCode { get; set; }
/// <summary>
/// 收货人联系人名
/// </summary>
[SugarColumn(ColumnName = "ConsigneeFirstName")]
[Description("收货人联系人名")]
public string ConsigneeFirstName { get; set; }
/// <summary>
/// 收货人联系人姓
/// </summary>
[SugarColumn(ColumnName = "ConsigneeLastName")]
[Description("收货人联系人姓")]
public string ConsigneeLastName { get; set; }
/// <summary>
/// 收货人电话国家代码
/// </summary>
[SugarColumn(ColumnName = "ConsigneePhoneCountryCode")]
[Description("收货人电话国家代码")]
public string ConsigneePhoneCountryCode { get; set; }
/// <summary>
/// 收货人电话区号
/// </summary>
[SugarColumn(ColumnName = "ConsigneePhoneCode")]
[Description("收货人电话区号")]
public string ConsigneePhoneCode { get; set; }
/// <summary>
/// 收货人电话
/// </summary>
[SugarColumn(ColumnName = "ConsigneePhone")]
[Description("收货人电话")]
public string ConsigneePhone { get; set; }
/// <summary>
/// 收货人分机号
/// </summary>
[SugarColumn(ColumnName = "ConsigneePhoneExtension")]
[Description("收货人分机号")]
public string ConsigneePhoneExtension { get; set; }
/// <summary>
/// 通知人名称
/// </summary>
[SugarColumn(ColumnName = "NotifypartName")]
[Description("通知人名称")]
public string NotifypartName { get; set; }
/// <summary>
/// 通知人地址
/// </summary>
[SugarColumn(ColumnName = "NotifypartAddress")]
[Description("通知人地址")]
public string NotifypartAddress { get; set; }
/// <summary>
/// 通知人国家
/// </summary>
[SugarColumn(ColumnName = "NotifypartCountry")]
[Description("通知人国家")]
public string NotifypartCountry { get; set; }
/// <summary>
/// 通知人省份
/// </summary>
[SugarColumn(ColumnName = "NotifypartProvince")]
[Description("通知人省份")]
public string NotifypartProvince { get; set; }
/// <summary>
/// 通知人城市
/// </summary>
[SugarColumn(ColumnName = "NotifypartCity")]
[Description("通知人城市")]
public string NotifypartCity { get; set; }
/// <summary>
/// 通知人区县
/// </summary>
[SugarColumn(ColumnName = "NotifypartCounty")]
[Description("通知人区县")]
public string NotifypartCounty { get; set; }
/// <summary>
/// 通知人邮政编码
/// </summary>
[SugarColumn(ColumnName = "NotifypartPostCode")]
[Description("通知人邮政编码")]
public string NotifypartPostCode { get; set; }
/// <summary>
/// 通知人联系人名
/// </summary>
[SugarColumn(ColumnName = "NotifypartFirstName")]
[Description("通知人联系人名")]
public string NotifypartFirstName { get; set; }
/// <summary>
/// 通知人联系人姓
/// </summary>
[SugarColumn(ColumnName = "NotifypartLastName")]
[Description("通知人联系人姓")]
public string NotifypartLastName { get; set; }
/// <summary>
/// 通知人电话国家代码
/// </summary>
[SugarColumn(ColumnName = "NotifypartPhoneCountryCode")]
[Description("通知人电话国家代码")]
public string NotifypartPhoneCountryCode { get; set; }
/// <summary>
/// 通知人电话区号
/// </summary>
[SugarColumn(ColumnName = "NotifypartPhoneCode")]
[Description("通知人电话区号")]
public string NotifypartPhoneCode { get; set; }
/// <summary>
/// 通知人电话
/// </summary>
[SugarColumn(ColumnName = "NotifypartPhone")]
[Description("通知人电话")]
public string NotifypartPhone { get; set; }
/// <summary>
/// 通知人分机号
/// </summary>
[SugarColumn(ColumnName = "NotifypartPhoneExtension")]
[Description("通知人分机号")]
public string NotifypartPhoneExtension { get; set; }
/// <summary>
/// 订舱公司名称
/// </summary>
[SugarColumn(ColumnName = "BookingName")]
[Description("订舱公司名称")]
public string BookingName { get; set; }
/// <summary>
/// 订舱公司地址
/// </summary>
[SugarColumn(ColumnName = "BookingAddress")]
[Description("订舱公司地址")]
public string BookingAddress { get; set; }
/// <summary>
/// 订舱公司国家
/// </summary>
[SugarColumn(ColumnName = "BookingCountry")]
[Description("订舱公司国家")]
public string BookingCountry { get; set; }
/// <summary>
/// 订舱公司省份
/// </summary>
[SugarColumn(ColumnName = "BookingProvince")]
[Description("订舱公司省份")]
public string BookingProvince { get; set; }
/// <summary>
/// 订舱公司城市
/// </summary>
[SugarColumn(ColumnName = "BookingCity")]
[Description("订舱公司城市")]
public string BookingCity { get; set; }
/// <summary>
/// 订舱公司区县
/// </summary>
[SugarColumn(ColumnName = "BookingCounty")]
[Description("订舱公司区县")]
public string BookingCounty { get; set; }
/// <summary>
/// 订舱公司邮政编码
/// </summary>
[SugarColumn(ColumnName = "BookingPostCode")]
[Description("订舱公司邮政编码")]
public string BookingPostCode { get; set; }
/// <summary>
/// 订舱公司联系人名
/// </summary>
[SugarColumn(ColumnName = "BookingFirstName")]
[Description("订舱公司联系人名")]
public string BookingFirstName { get; set; }
/// <summary>
/// 订舱公司联系人姓
/// </summary>
[SugarColumn(ColumnName = "BookingLastName")]
[Description("订舱公司联系人姓")]
public string BookingLastName { get; set; }
/// <summary>
/// 订舱公司电话国家代码
/// </summary>
[SugarColumn(ColumnName = "BookingPhoneCountryCode")]
[Description("订舱公司电话国家代码")]
public string BookingPhoneCountryCode { get; set; }
/// <summary>
/// 订舱公司电话区号
/// </summary>
[SugarColumn(ColumnName = "BookingPhoneCode")]
[Description("订舱公司电话区号")]
public string BookingPhoneCode { get; set; }
/// <summary>
/// 订舱公司电话
/// </summary>
[SugarColumn(ColumnName = "BookingPhone")]
[Description("订舱公司电话")]
public string BookingPhone { get; set; }
/// <summary>
/// 订舱公司分机号
/// </summary>
[SugarColumn(ColumnName = "BookingPhoneExtension")]
[Description("订舱公司分机号")]
public string BookingPhoneExtension { get; set; }
/// <summary>
/// 收货地
/// </summary>
public string PLACERECEIPT { get; set; }
/// <summary>
/// 收货地唯一代码
/// </summary>
public string PLACERECEIPTCODE { get; set; }
/// <summary>
/// 收货地代码
/// </summary>
public string PLACERECEIPTID { get; set; }
/// <summary>
/// 订舱账号
/// </summary>
[SugarColumn(ColumnName = "BookingAccount")]
[Description("订舱账号")]
public string BookingAccount { get; set; }
/// <summary>
/// 订舱密码
/// </summary>
[SugarColumn(ColumnName = "BookingPassword")]
[Description("订舱密码")]
public string BookingPassword { get; set; }
/// <summary>
/// 操作邮箱
/// </summary>
[SugarColumn(ColumnName = "OpMail")]
[Description("操作邮箱")]
public string OpMail { get; set; }
/// <summary>
/// 起始港名
/// </summary>
[SugarColumn(ColumnName = "PolPortName")]
[Description("起始港名")]
public string PolPortName { get; set; }
/// <summary>
/// 目的港名
/// </summary>
[SugarColumn(ColumnName = "PodPortName")]
[Description("目的港名")]
public string PodPortName { get; set; }
/// <summary>
/// 合约类型
/// </summary>
[SugarColumn(ColumnName = "ContractType")]
[Description("合约类型")]
public string ContractType { get; set; }
/// <summary>
/// 运送方式
/// </summary>
[SugarColumn(ColumnName = "ServiceType")]
[Description("运送方式")]
public string ServiceType { get; set; }
/// <summary>
/// 运送形态
/// </summary>
[SugarColumn(ColumnName = "ServiceMode")]
[Description("运送形态")]
public string ServiceMode { get; set; }
/// <summary>
/// 联系人
/// </summary>
[SugarColumn(ColumnName = "ContactName")]
[Description("联系人")]
public string ContactName { get; set; }
/// <summary>
/// 联系电话
/// </summary>
[SugarColumn(ColumnName = "ContactTel")]
[Description("联系电话")]
public string ContactTel { get; set; }
/// <summary>
/// 订舱网点
/// </summary>
[SugarColumn(ColumnName = "BookingAddr")]
[Description("订舱网点")]
public string BookingAddr { get; set; }
/// <summary>
/// 提单签发地
/// </summary>
[SugarColumn(ColumnName = "BillSignLoc")]
[Description("提单签发地")]
public string BillSignLoc { get; set; }
/// <summary>
/// 提单数量
/// </summary>
[SugarColumn(ColumnName = "BillCount")]
[Description("提单数量")]
public int? BillCount { get; set; }
/// <summary>
/// 是否接收订舱通知
/// </summary>
[SugarColumn(ColumnName = "AcceptNotify")]
[Description("是否接收订舱通知")]
public bool AcceptNotify { get; set; }
/// <summary>
/// 发货人性别
/// </summary>
[SugarColumn(ColumnName = "ShipperSex")]
[Description("发货人性别")]
public string ShipperSex { get; set; }
/// <summary>
/// 收货人性别
/// </summary>
[SugarColumn(ColumnName = "ConsigneeSex")]
[Description("收货人性别")]
public string ConsigneeSex { get; set; }
/// <summary>
/// 通知人性别
/// </summary>
[SugarColumn(ColumnName = "NotifypartSex")]
[Description("通知人性别")]
public string NotifypartSex { get; set; }
/// <summary>
/// 订舱公司性别
/// </summary>
[SugarColumn(ColumnName = "BookingSex")]
[Description("订舱公司性别")]
public string BookingSex { get; set; }
/// <summary>
/// 发货人内参号码
/// </summary>
[SugarColumn(ColumnName = "ShipperInnerCode")]
[Description("发货人内参号码")]
public string ShipperInnerCode { get; set; }
/// <summary>
/// 收货人内参号码
/// </summary>
[SugarColumn(ColumnName = "ConsigneeInnerCode")]
[Description("收货人内参号码")]
public string ConsigneeInnerCode { get; set; }
/// <summary>
/// 通知人内参号码
/// </summary>
[SugarColumn(ColumnName = "NotifypartInnerCode")]
[Description("通知人内参号码")]
public string NotifypartInnerCode { get; set; }
/// <summary>
/// 订舱公司内参号码
/// </summary>
[SugarColumn(ColumnName = "BookingInnerCode")]
[Description("订舱公司内参号码")]
public string BookingInnerCode { get; set; }
/// <summary>
/// 订舱客户内参号码
/// </summary>
[SugarColumn(ColumnName = "CustomerInnerCode")]
[Description("订舱客户内参号码")]
public string CustomerInnerCode { get; set; }
/// <summary>
/// 发货人邮箱
/// </summary>
[SugarColumn(ColumnName = "ShipperEmail")]
[Description("发货人邮箱")]
public string ShipperEmail { get; set; }
/// <summary>
/// 收货人邮箱
/// </summary>
[SugarColumn(ColumnName = "ConsigneeEmail")]
[Description("收货人邮箱")]
public string ConsigneeEmail { get; set; }
/// <summary>
/// 通知人邮箱
/// </summary>
[SugarColumn(ColumnName = "NotifypartEmail")]
[Description("通知人邮箱")]
public string NotifypartEmail { get; set; }
/// <summary>
/// 订舱公司邮箱
/// </summary>
[SugarColumn(ColumnName = "BookingEmail")]
[Description("订舱公司邮箱")]
public string BookingEmail { get; set; }
/// <summary>
/// 签约方
/// </summary>
[SugarColumn(ColumnName = "SignType")]
[Description("签约方")]
public string SignType { get; set; }
/// <summary>
/// 复制数量
/// </summary>
public int CopyNum { get; set; }
/// <summary>
/// 父级订单编号
/// </summary>
public string ParentBookingNO { get; set; }
}
/// <summary>
/// 客户订舱
/// </summary>
[SugarTable("booking_customer_order_template")]
[Description("客户订舱模板")]
public class BookingCustomerOrderTemplate : DBEntityTenant
{
/// <summary>
/// 标题
/// </summary>
public string Title { get; set; }
/// <summary>
/// 内容JSON
/// </summary>
public string JsonContent { get; set; }
}
}