|
|
|
|
using DS.Module.Core.Data;
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace DS.WMS.Core.Op.Entity
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 集装箱信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SqlSugar.SugarTable("op_ctn", "集装箱信息")]
|
|
|
|
|
public class OpCtn : BaseOrgModel<long>
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "业务编号", IsNullable = false, Length = 100)]
|
|
|
|
|
public string BSNO { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱型代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "箱型代码", IsNullable = true, Length = 4)]
|
|
|
|
|
public string CtnCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 尺寸
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "尺寸", IsNullable = true, Length = 3)]
|
|
|
|
|
public string Size { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱型
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "箱型", IsNullable = true, Length = 10)]
|
|
|
|
|
public string Ctn { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱量
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "箱量", DefaultValue = "0")]
|
|
|
|
|
public int CtnNum { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// TEU
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "TEU", DefaultValue = "0")]
|
|
|
|
|
public int TEU { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 表现形式
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "表现形式", IsNullable = true, Length = 10)]
|
|
|
|
|
public string CtnAll { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "箱号", IsNullable = true, Length = 30)]
|
|
|
|
|
public string CntrNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 封号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "封号", IsNullable = true, Length = 20)]
|
|
|
|
|
public string SealNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 件数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "件数", IsNullable = true)]
|
|
|
|
|
public int? PKGS { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 毛重
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "毛重", IsNullable = true, Length = 18, DecimalDigits = 3, DefaultValue = "0")]
|
|
|
|
|
public decimal? KGS { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 尺码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "尺码", IsNullable = true, Length = 18, DecimalDigits = 3, DefaultValue = "0")]
|
|
|
|
|
public decimal? CBM { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 包装 t_code_package
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "包装", IsNullable = true, Length = 20)]
|
|
|
|
|
public string KindPkgs { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 皮重
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "皮重", IsNullable = true, Length = 18, DecimalDigits = 3, DefaultValue = "0")]
|
|
|
|
|
public decimal? TareWeight { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 品名
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "品名", IsNullable = true, Length = 30)]
|
|
|
|
|
public string GoodsName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "箱状态", IsNullable = true, Length = 10)]
|
|
|
|
|
public string CtnStatus { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 称重方式
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "称重方式", IsNullable = true, Length = 30)]
|
|
|
|
|
public string WeightType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 称重重量
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "称重重量", IsNullable = true, Length = 18, DecimalDigits = 3, DefaultValue = "0")]
|
|
|
|
|
public decimal? WeightKGS { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VGM联系人
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "VGM联系人", IsNullable = true, Length = 20)]
|
|
|
|
|
public string WeightATTN { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VGM联系人电话
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "VGM联系人电话", IsNullable = true, Length = 20)]
|
|
|
|
|
public string WeightTel { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VGM联系人签名
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "VGM联系人签名", IsNullable = true, Length = 20)]
|
|
|
|
|
public string WeightSign { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VGM称重日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "VGM称重日期", IsNullable = true, Length = 20)]
|
|
|
|
|
public string WeightDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主票业务编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "主票业务编号", IsNullable = false, Length = 100)]
|
|
|
|
|
public string MasterNo { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 承运车队
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "承运车队", IsNullable = false, Length = 20)]
|
|
|
|
|
public string Trucker { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 车号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "车号", IsNullable = false, Length = 30)]
|
|
|
|
|
public string TruckNo { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 运费
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "运费", IsNullable = true, Length = 18, DecimalDigits = 2, DefaultValue = "0")]
|
|
|
|
|
public decimal? TruckFee { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 免堆存天数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "免堆存天数", DefaultValue = "0")]
|
|
|
|
|
public int FreeStorageDay { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 堆存天数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "堆存天数", DefaultValue = "0")]
|
|
|
|
|
public int StorageDay { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 堆存费/天
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "堆存费/天", IsNullable = true, Length = 18, DecimalDigits = 2, DefaultValue = "0")]
|
|
|
|
|
public decimal? StoragePrice { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 堆存费
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "堆存费", IsNullable = true, Length = 18, DecimalDigits = 2, DefaultValue = "0")]
|
|
|
|
|
public decimal? StorageFee { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 免箱使天数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "免箱使天数", DefaultValue = "0")]
|
|
|
|
|
public int FreeCtnDay { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱使天数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "箱使天数", DefaultValue = "0")]
|
|
|
|
|
public int CtnDay { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱使费/天
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "箱使费/天", IsNullable = true, Length = 18, DecimalDigits = 2, DefaultValue = "0")]
|
|
|
|
|
public decimal? CtnPrice { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱使费
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "箱使费", IsNullable = true, Length = 18, DecimalDigits = 2, DefaultValue = "0")]
|
|
|
|
|
public decimal? CtnFee { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:是否暂出
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "是否暂出", DefaultValue = "0")]
|
|
|
|
|
public bool? IsTemp { get; set; } = false;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VGM地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "VGM地址", IsNullable = false, Length = 100)]
|
|
|
|
|
public string VGMAddr { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VGM邮箱
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "VGM邮箱", IsNullable = false, Length = 60)]
|
|
|
|
|
public string VGMEmail { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 提箱时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "提箱时间", IsNullable = false, Length = 50)]
|
|
|
|
|
public string PickUpTime { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 实际到港时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "实际到港时间", IsNullable = false, Length = 50)]
|
|
|
|
|
public string ActualArrivalPortTime { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|