using DS.Module.Core;
using DS.WMS.Core.Op.Entity;
using Masuit.Tools.Systems;
namespace DS.WMS.Core.Fee.Dtos
{
///
/// 客户费用模板视图
///
public class FeeCustTemplateView
{
///
/// 主键ID
///
public long Id { get; set; }
///
/// 模板ID
///
public long TemplateId { get; set; }
///
/// 模板名称
///
public string? TemplateName { get; set; }
///
/// 结算对象Id
///
public long CustomerId { get; set; }
///
/// 结算对象
///
public string? CustomerName { get; set; }
///
/// 结算对象类型
///
public string? CustomerType { get; set; }
///
/// 费用Id
///
public long FeeId { get; set; }
///
/// 费用名称
///
public string? FeeName { get; set; }
///
/// 20GP
///
public decimal? Unit20GP { get; set; }
///
/// 40GP
///
public decimal? Unit40GP { get; set; }
///
/// 40HC
///
public decimal? Unit40HC { get; set; }
///
/// 45G0
///
public decimal? Unit45G0 { get; set; }
///
/// TEU
///
public decimal? UnitTEU { get; set; }
///
/// 单票
///
public decimal? UnitP { get; set; }
///
/// 币别
///
public string? Currency { get; set; }
///
/// 汇率,为空时取默认汇率
///
public decimal? ExchangeRate { get; set; }
///
/// 费用默认税率
///
public decimal? TaxRate { get; set; }
///
/// 财务税率
///
public decimal? AccTaxRate { get; set; }
///
/// 税额
///
public decimal? Tax { get; set; }
///
/// 是否开票
///
public bool IsInvoice { get; set; }
///
/// 是否垫付费用
///
public bool IsAdvancedPay { get; set; }
///
/// 业务类型
///
public BusinessType BusinessType { get; set; }
///
/// 业务类型文本
///
public string BusinessTypeText => BusinessType.GetDescription();
///
/// 费用类型
///
public FeeType FeeType { get; set; }
///
/// 费用类型文本
///
public string FeeTypeText => FeeType.GetDescription();
///
/// 开始时间
///
public DateTime? StartTime { get; set; }
///
/// 结束时间
///
public DateTime? EndTime { get; set; }
///
/// 是否禁用
///
public bool IsDisabled { get; set; }
/////
///// 费用类别ID
/////
//public string? FeeCategoryId { get; set; }
///
/// 费用类别名称
///
public string? FeeCategoryName { get; set; }
///
/// 优先级
///
public int Priority { get; set; }
///
/// 起运港代码
///
public string? POLCode { get; set; }
///
/// 卸货港代码
///
public string? PODCode { get; set; }
///
/// 航线名称
///
public string? LaneName { get; set; }
///
/// 承运商名称
///
public string? CarrierName { get; set; }
///
/// 付费方式代码
///
public string? MBLFrtCode { get; set; }
///
/// 业务来源名称
///
public string? SourceName { get; set; }
///
/// 业务来源明细名称
///
public string? SourceDetailName { get; set; }
///
/// 订舱口名称
///
public string? ForwarderName { get; set; }
///
/// 分公司名称
///
public string? DeptOrgName { get; set; }
///
/// 是否共享
///
public bool IsShared { get; set; }
///
/// 创建时间
///
public DateTime CreateTime { get; set; }
///
/// 创建人
///
public string? CreateUserName { get; set; }
}
}