|
|
using DS.Module.Core.Data;
|
|
|
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.Entity.BLManage
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 提单管理主信息
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarTable("op_sea_bl_issue_base", "提单管理主信息")]
|
|
|
public class BLManageBase : BaseModel<long>
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 订舱主键,关联订舱主表ID
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "订舱主键", IsNullable = true)]
|
|
|
public long BookingId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 业务类型(SeaExport-海运出口)
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "业务类型", Length = 20, IsNullable = true)]
|
|
|
public string BusiType { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 业务类型名称(SeaExport-海运出口)
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "业务类型名称", Length = 50, IsNullable = true)]
|
|
|
public string BusiTypeName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 单证编号
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "单证编号", Length = 64, IsNullable = true)]
|
|
|
public string BLNo { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 单证类型
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "单证类型", Length = 20, IsNullable = true)]
|
|
|
public string BLType { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 单证类型名称
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "单证类型名称", Length = 50, IsNullable = true)]
|
|
|
public string BLTypeName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 结算日期
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "结算日期", IsNullable = true)]
|
|
|
public Nullable<DateTime> StlDate { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 提单签发状态代码
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "提单签发状态代码", Length = 20, IsNullable = true)]
|
|
|
public string Status { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 提单签发状态名称
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "提单签发状态名称", Length = 50, IsNullable = true)]
|
|
|
public string StatusName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 委托单位Id
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "委托单位Id", IsNullable = false)]
|
|
|
public long CustomerId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 委托单位
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "委托单位", IsNullable = true, Length = 50)]
|
|
|
public string CustomerName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 揽货人Id
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "揽货人Id", IsNullable = true, DefaultValue = "0")]
|
|
|
public long SaleId { get; set; }
|
|
|
/// <summary>
|
|
|
/// 揽货人
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "揽货人", IsNullable = true, Length = 100)]
|
|
|
public string Sale { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 签入日期
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "签入日期", IsNullable = true)]
|
|
|
public Nullable<DateTime> CheckInDate { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 签入备注
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "签入备注", IsNullable = true, Length = 500)]
|
|
|
public string CheckInNote { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 签入人
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "签入人", IsNullable = true)]
|
|
|
public long CheckInBy { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 签入人名称
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "签入人名称", IsNullable = true)]
|
|
|
public string CheckInUserName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 是否特殊放单
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "是否特殊放单", IsNullable = true, DefaultValue = "0")]
|
|
|
public bool IsSpecialRelese { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 特殊放单状态代码
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "特殊放单状态代码", Length = 20, IsNullable = true)]
|
|
|
public string SpecialReleseStatus { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 特殊放单状态名称
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "特殊放单状态名称", Length = 50, IsNullable = true)]
|
|
|
public string SpecialReleseStatusName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 特殊放单备注
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "特殊放单备注", Length = 500, IsNullable = true)]
|
|
|
public string SpecialReleseNotes { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 是否船证
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "是否特殊放单", IsNullable = true, DefaultValue = "0")]
|
|
|
public bool IsShipCertificate { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 开船日期
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "开船日期", IsNullable = true)]
|
|
|
public DateTime? ETD { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 预抵日期
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "预抵日期", IsNullable = true)]
|
|
|
public DateTime? ETA { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 协议天数
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "协议天数", IsNullable = true)]
|
|
|
public Nullable<Int16> AgreementDays { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 超期天数
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "超期天数", IsNullable = true)]
|
|
|
public Nullable<Int16> OverdueDays { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 实际天数
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "实际天数", IsNullable = true)]
|
|
|
public Nullable<Int16> RealDays { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 不含税应收款总计
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "不含税应收款总计", Length = 18, DecimalDigits = 3, IsNullable = true)]
|
|
|
public decimal NoTaxReceivableTotal { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 不含税应付款总计
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "不含税应付款总计", Length = 18, DecimalDigits = 3, IsNullable = true)]
|
|
|
public decimal NoTaxPayableTotal { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 不含税利润总计
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "不含税利润总计", Length = 18, DecimalDigits = 3, IsNullable = true)]
|
|
|
public decimal NoTaxProfitTotal { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 不含税人民币应收款
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "不含税利润总计", Length = 18, DecimalDigits = 3, IsNullable = true)]
|
|
|
public decimal NoTaxReceivableCNY { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 不含税人民币应付款
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "不含税利润总计", Length = 18, DecimalDigits = 3, IsNullable = true)]
|
|
|
public decimal NoTaxPayableCNY { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 不含税人民币利润
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "不含税利润总计", Length = 18, DecimalDigits = 3, IsNullable = true)]
|
|
|
public decimal NoTaxProfitCNY { get { return NoTaxReceivableCNY - NoTaxPayableCNY; } }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 不含税美元应收款
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "不含税利润总计", Length = 18, DecimalDigits = 3, IsNullable = true)]
|
|
|
public decimal NoTaxReceivableUSD { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 不含税美元应付款
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "不含税美元应付款", Length = 18, DecimalDigits = 3, IsNullable = true)]
|
|
|
public decimal NoTaxPayableUSD { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 不含税美元利润
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "不含税美元利润", Length = 18, DecimalDigits = 3, IsNullable = true)]
|
|
|
public decimal NoTaxProfitUSD { get { return NoTaxReceivableUSD - NoTaxPayableUSD; } }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 不含税其他币种应收款
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "不含税其他币种应收款", Length = 18, DecimalDigits = 3, IsNullable = true)]
|
|
|
public decimal NoTaxReceivableOther { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 不含税其他币种应付款
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "不含税其他币种应付款", Length = 18, DecimalDigits = 3, IsNullable = true)]
|
|
|
public decimal NoTaxPayableOther { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 不含税其他币种利润
|
|
|
/// </summary>
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "不含税其他币种利润", Length = 18, DecimalDigits = 3, IsNullable = true)]
|
|
|
public decimal NoTaxProfitOther { get; set; }
|
|
|
}
|
|
|
}
|