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/Service/Fee/Dto/FeeTemplateDto.cs

257 lines
7.5 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 Myshipping.Core;
using SqlSugar;
using System.ComponentModel;
using System;
using System.Collections.Generic;
namespace Myshipping.Application.Service.Fee.Dto
{
public class FeeTemplateDto
{
/// <summary>
/// ID
/// </summary>
public long Id { get; set; }
/// <summary>
/// 业务类型
/// </summary>
[Description("业务类型")]
public string OpType { get; set; }
/// <summary>
/// 收付类型(收、付)
/// </summary>
[Description("收付类型(收、付)")]
public string FeeType { get; set; }
/// <summary>
/// 费用模板名称
/// </summary>
[Description("费用模板名称")]
public string Name { get; set; }
/// <summary>
/// 费用模板描述
/// </summary>
[Description("费用模板描述")]
public string Description { get; set; }
/// <summary>
/// 备注
/// </summary>
[Description("备注")]
public string Remark { get; set; }
/// <summary>
/// 是否公共
/// </summary>
[Description("是否公共")]
public bool IsPublic { get; set; }
/// <summary>
/// 开始时间
/// </summary>
[Description("开始时间")]
public DateTime BgnDate { get; set; }
/// <summary>
/// 结束时间
/// </summary>
[Description("结束时间")]
public DateTime EndDate { get; set; }
}
/// <summary>
/// 查询
/// </summary>
public class FeeTemplatePageInput : PageInputBase
{
/// <summary>
/// 业务类型
/// </summary>
[Description("业务类型")]
public string OpType { get; set; }
/// <summary>
/// 收付类型(收、付)
/// </summary>
[Description("收付类型(收、付)")]
public string FeeType { get; set; }
/// <summary>
/// 费用模板名称
/// </summary>
[Description("费用模板名称")]
public string Name { get; set; }
}
/// <summary>
/// 台账列表
/// </summary>
public class FeeTemplatePageOutput : FeeTemplateDto
{
}
/// <summary>
/// 保存
/// </summary>
public class FeeTemplateSaveDto : FeeTemplateDto
{
/// <summary>
/// 明细
/// </summary>
public List<FeeTemplateDetailDto> Detail { get; set; }
}
/// <summary>
/// 费用模板明细dto
/// </summary>
public class FeeTemplateDetailDto
{
/// <summary>
/// ID
/// </summary>
public long Id { get; set; }
/// <summary>
/// 模板ID
/// </summary>
[Description("模板ID")]
public long TemplateID { get; set; }
/// <summary>
/// 费用名称;取【费用代码】 中的费用名称,录入是可以 通过过费用代码、费用名称检索
/// </summary>
[Description("费用名称;取【费用代码】 中的费用名称,录入是可以 通过过费用代码、费用名称检索")]
public string FeeName { get; set; }
/// <summary>
/// 费用对象;可以为空,为空时 录入费用按客户类型提取业务数据费用对象
/// </summary>
[Description("费用对象;可以为空,为空时 录入费用按客户类型提取业务数据费用对象")]
public string CustomerName { get; set; }
/// <summary>
/// 客户类别;可枚举维护、(船公司、委托单位、场站、车队等)
/// </summary>
[Description("客户类别;可枚举维护、(船公司、委托单位、场站、车队等)")]
public string CustType { get; set; }
/// <summary>
/// 费用标准;枚举维护加所有箱型
/// </summary>
[Description("费用标准;枚举维护加所有箱型")]
public string Unit { get; set; }
/// <summary>
/// 币别;可以录入汇率(数值)或选择按【汇率设置】中提取汇率
/// </summary>
[Description("币别;可以录入汇率(数值)或选择按【汇率设置】中提取汇率")]
public string Currency { get; set; }
/// <summary>
/// 单价
/// </summary>
[Description("单价")]
public decimal UnitPrice { get; set; }
/// <summary>
/// 备注
/// </summary>
[Description("备注")]
public string Remark { get; set; }
/// <summary>
/// 排序号
/// </summary>
[Description("排序号")]
public int Sort { get; set; }
/// <summary>
/// 收付类别(收、付)
/// </summary>
[Description("收付类别(收、付)")]
public string FeeType { get; set; }
/// <summary>
/// 汇率;可以选择 本公司中的 各分公司
/// </summary>
[Description("汇率;可以选择 本公司中的 各分公司")]
public decimal ExchangeRate { get; set; }
/// <summary>
/// 是否按箱型;如果选择了否,则假如前面标准选择了以 20GP为标准则在调用时不管业务信息里有无20GP的箱子都是以20GP为标准有20GP的则调用其数量没有20GP的则生成一条标准为20GP数量为0的费用如果选择了是则只有当业务信息里有 20GP这种箱型时才调用这条费用
/// </summary>
[Description("是否按箱型")]
public bool IsCtn { get; set; }
/// <summary>
/// 是否开票
/// </summary>
[Description("是否开票")]
public bool IsInvoice { get; set; }
/// <summary>
/// 是否垫付
/// </summary>
[Description("是否垫付")]
public bool IsAdvancedPay { get; set; }
/// <summary>
/// 费用FRT;PP,CC
/// </summary>
[Description("费用FRT;PP,CC")]
public string FeeFrt { get; set; }
/// <summary>
/// 税率;含税单价=单价*1+(税率/100录入单价或税率自动计算 含税单价
/// </summary>
[Description("税率;含税单价=单价*1+(税率/100录入单价或税率自动计算 含税单价")]
public decimal TaxRate { get; set; }
/// <summary>
/// 税额
/// </summary>
[Description("税额")]
public decimal Tax { get; set; }
/// <summary>
/// 核算单位
/// </summary>
[Description("核算单位")]
public string SaleCorp { get; set; }
/// <summary>
/// 含税单价
/// </summary>
[Description("含税单价")]
public decimal TaxUnitPrice { get; set; }
/// <summary>
/// 财务税率
/// </summary>
[Description("财务税率")]
public decimal AccTaxRate { get; set; }
/// <summary>
/// 费用英文名称;录入费用名称时,自动带出【费用代码】的 费用英文名称
/// </summary>
[Description("费用英文名称;录入费用名称时,自动带出【费用代码】的 费用英文名称")]
public string FeeDescription { get; set; }
/// <summary>
/// 费用分组;枚举中设置的 费用分组
/// </summary>
[Description("费用分组;枚举中设置的 费用分组")]
public string FeeGroup { get; set; }
}
}