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.

270 lines
10 KiB
C#

1 month ago
using DS.Module.Core.Data;
1 month ago
using SqlSugar;
1 month ago
using System;
using System.Collections.Generic;
1 month ago
using System.ComponentModel;
1 month ago
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.WMS.Core.Op.Entity.BLManage
{
/// <summary>
/// 提单管理主信息
/// </summary>
[SqlSugar.SugarTable("op_bl_issue_base", "提单管理主信息")]
public class BLIssueManageBase : BaseModel<long>
1 month ago
{
/// <summary>
/// 订舱主键,关联订舱主表ID
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "订舱主键", IsNullable = true)]
public long BookingId { get; set; }
1 month ago
/// <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; }
1 month ago
/// <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>
1 month ago
/// 结算日期
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "结算日期", IsNullable = true)]
public Nullable<DateTime> StlDate { get; set; }
/// <summary>
/// 提单签发状态代码
1 month ago
/// </summary>
1 month ago
[SqlSugar.SugarColumn(ColumnDescription = "提单签发状态代码", Length = 20, IsNullable = true)]
1 month ago
public string Status { get; set; }
/// <summary>
1 month ago
/// 提单签发状态名称
1 month ago
/// </summary>
1 month ago
[SqlSugar.SugarColumn(ColumnDescription = "提单签发状态名称", Length = 50, IsNullable = true)]
1 month ago
public string StatusName { get; set; }
1 month ago
/// <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; }
1 month ago
/// <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>
/// USD未收
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "USD未收", Length = 18, DecimalDigits = 3, IsNullable = true)]
public decimal NoPayAmountUSD { get; set; }
/// <summary>
/// RMB未收
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "RMB未收", Length = 18, DecimalDigits = 3, IsNullable = true)]
public decimal NoPayAmountCNY { get; set; }
/// <summary>
/// 未收合计
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "未收合计", Length = 18, DecimalDigits = 3, IsNullable = true)]
public decimal NoPayAmountTotal { get; set; }
1 month ago
/// <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; }
1 month ago
}
}