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.
BookingHeChuan/Myshipping.Application/Entity/Fee/FeeTemplateDetail.cs

182 lines
6.6 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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