using System; using System.Collections.Generic; using SqlSugar; using Myshipping.Core.Entity; using System.ComponentModel; /* * @author : whm * @date : 2024-1-22 * @desc : 费用模板明细 */ namespace Myshipping.Application.Entity { /// /// 费用模板明细 /// [SugarTable("fee_template_detail", TableDescription = "费用模板明细")] public class FeeTemplateDetail : DBEntityTenant { /// /// 模板ID /// [SugarColumn(ColumnName = "TemplateID")] [Description("模板ID")] public long TemplateID{ get; set; } /// /// 费用名称;取【费用代码】 中的费用名称,录入是可以 通过过费用代码、费用名称检索 /// [SugarColumn(ColumnName = "FeeName")] [Description("费用名称;取【费用代码】 中的费用名称,录入是可以 通过过费用代码、费用名称检索")] public string FeeName{ get; set; } /// /// 费用对象;可以为空,为空时 录入费用按客户类型提取业务数据费用对象 /// [SugarColumn(ColumnName = "CustomerName")] [Description("费用对象;可以为空,为空时 录入费用按客户类型提取业务数据费用对象")] public string CustomerName{ get; set; } /// /// 客户类别;可枚举维护、(船公司、委托单位、场站、车队等) /// [SugarColumn(ColumnName = "CustType")] [Description("客户类别;可枚举维护、(船公司、委托单位、场站、车队等)")] public string CustType{ get; set; } /// /// 费用标准;枚举维护加所有箱型 /// [SugarColumn(ColumnName = "Unit")] [Description("费用标准;枚举维护加所有箱型")] public string Unit{ get; set; } /// /// 币别;可以录入汇率(数值)或选择按【汇率设置】中提取汇率 /// [SugarColumn(ColumnName = "Currency")] [Description("币别;可以录入汇率(数值)或选择按【汇率设置】中提取汇率")] public string Currency{ get; set; } /// /// 单价 /// [SugarColumn(ColumnName = "UnitPrice")] [Description("单价")] public decimal UnitPrice{ get; set; } /// /// 备注 /// [SugarColumn(ColumnName = "Remark")] [Description("备注")] public string Remark{ get; set; } /// /// 排序号 /// [SugarColumn(ColumnName = "Sort")] [Description("排序号")] public int Sort{ get; set; } /// /// 收付类别(收、付) /// [SugarColumn(ColumnName = "FeeType")] [Description("收付类别(收、付)")] public string FeeType{ get; set; } /// /// 汇率;可以选择 本公司中的 各分公司 /// [SugarColumn(ColumnName = "ExchangeRate")] [Description("汇率;可以选择 本公司中的 各分公司")] public decimal ExchangeRate{ get; set; } /// /// 是否按箱型;如果选择了否,则假如前面标准选择了以 20GP为标准,则在调用时不管业务信息里有无20GP的箱子,都是以20GP为标准,有20GP的则调用其数量,没有20GP的,则生成一条标准为20GP数量为0的费用;如果选择了是,则只有当业务信息里有 20GP这种箱型时,才调用这条费用 /// [SugarColumn(ColumnName = "IsCtn")] [Description("是否按箱型")] public bool IsCtn{ get; set; } /// /// 是否开票 /// [SugarColumn(ColumnName = "IsInvoice")] [Description("是否开票")] public bool IsInvoice{ get; set; } /// /// 是否垫付 /// [SugarColumn(ColumnName = "IsAdvancedPay")] [Description("是否垫付")] public bool IsAdvancedPay{ get; set; } /// /// 费用FRT;PP,CC /// [SugarColumn(ColumnName = "FeeFrt")] [Description("费用FRT;PP,CC")] public string FeeFrt{ get; set; } /// /// 税率;含税单价=单价*(1+(税率/100))录入单价或税率自动计算 含税单价 /// [SugarColumn(ColumnName = "TaxRate")] [Description("税率;含税单价=单价*(1+(税率/100))录入单价或税率自动计算 含税单价")] public decimal TaxRate{ get; set; } /// /// 税额 /// [SugarColumn(ColumnName = "Tax")] [Description("税额")] public decimal Tax{ get; set; } /// /// 核算单位 /// [SugarColumn(ColumnName = "SaleCorp")] [Description("核算单位")] public string SaleCorp{ get; set; } /// /// 含税单价 /// [SugarColumn(ColumnName = "TaxUnitPrice")] [Description("含税单价")] public decimal TaxUnitPrice{ get; set; } /// /// 财务税率 /// [SugarColumn(ColumnName = "AccTaxRate")] [Description("财务税率")] public decimal AccTaxRate{ get; set; } /// /// 费用英文名称;录入费用名称时,自动带出【费用代码】的 费用英文名称 /// [SugarColumn(ColumnName = "FeeDescription")] [Description("费用英文名称;录入费用名称时,自动带出【费用代码】的 费用英文名称")] public string FeeDescription{ get; set; } /// /// 费用分组;枚举中设置的 费用分组 /// [SugarColumn(ColumnName = "FeeGroup")] [Description("费用分组;枚举中设置的 费用分组")] public string FeeGroup{ get; set; } /// /// 租户名称 /// [SugarColumn(ColumnName = "TenantName")] [Description("租户名称")] public string TenantName{ get; set; } } }