448 lines
12 KiB
C#

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_record", TableDescription = "费用记录")]
public class FeeRecord : DBEntityTenant
{
/// <summary>
/// 业务类型
/// </summary>
[SugarColumn(ColumnName = "BussType")]
[Description("业务类型")]
public string BussType { get; set; }
/// <summary>
/// 业务ID
/// </summary>
[SugarColumn(ColumnName = "BussId")]
[Description("业务ID")]
public long BussId { get; set; }
/// <summary>
/// 收付类型
/// </summary>
[SugarColumn(ColumnName = "FeeType")]
[Description("收付类型")]
public string FeeType { get; set; }
/// <summary>
/// 费用代码
/// </summary>
[SugarColumn(ColumnName = "FeeCode")]
[Description("费用代码")]
public string FeeCode { get; set; }
/// <summary>
/// 费用名称
/// </summary>
[SugarColumn(ColumnName = "FeeName")]
[Description("费用名称")]
public string FeeName { get; set; }
/// <summary>
/// 费用英文名称
/// </summary>
[SugarColumn(ColumnName = "FeeDescription")]
[Description("费用英文名称")]
public string FeeDescription { get; set; }
/// <summary>
/// 客户类别
/// </summary>
[SugarColumn(ColumnName = "CustomerType")]
[Description("客户类别")]
public string CustomerType { get; set; }
/// <summary>
/// 费用对象编码
/// </summary>
[SugarColumn(ColumnName = "CustomerCode")]
[Description("费用对象编码")]
public string CustomerCode { get; set; }
/// <summary>
/// 费用对象
/// </summary>
[SugarColumn(ColumnName = "CustomerName")]
[Description("费用对象")]
public string CustomerName { get; set; }
/// <summary>
/// 费用标准
/// </summary>
[SugarColumn(ColumnName = "Unit")]
[Description("费用标准")]
public string Unit { get; set; }
/// <summary>
/// 单价
/// </summary>
[SugarColumn(ColumnName = "UnitPrice")]
[Description("单价")]
public decimal UnitPrice { get; set; }
/// <summary>
/// 数量
/// </summary>
[SugarColumn(ColumnName = "Quantity")]
[Description("数量")]
public decimal Quantity { get; set; }
/// <summary>
/// 金额
/// </summary>
[SugarColumn(ColumnName = "Amount")]
[Description("金额")]
public decimal Amount { get; set; }
/// <summary>
/// 币别
/// </summary>
[SugarColumn(ColumnName = "Currency")]
[Description("币别")]
public string Currency { get; set; }
/// <summary>
/// 汇率
/// </summary>
[SugarColumn(ColumnName = "ExchangeRate")]
[Description("汇率")]
public decimal ExchangeRate { get; set; }
/// <summary>
/// 驳回原因
/// </summary>
[SugarColumn(ColumnName = "Reason")]
[Description("驳回原因")]
public string Reason { get; set; }
/// <summary>
/// 备注
/// </summary>
[SugarColumn(ColumnName = "Remark")]
[Description("备注")]
public string Remark { get; set; }
/// <summary>
/// 佣金比率
/// </summary>
[SugarColumn(ColumnName = "CommissionRate")]
[Description("佣金比率")]
public decimal CommissionRate { get; set; }
/// <summary>
/// 结算金额
/// </summary>
[SugarColumn(ColumnName = "Settlement")]
[Description("结算金额")]
public decimal Settlement { get; set; }
/// <summary>
/// 开票金额
/// </summary>
[SugarColumn(ColumnName = "Invoice")]
[Description("开票金额")]
public decimal Invoice { get; set; }
/// <summary>
/// 申请金额
/// </summary>
[SugarColumn(ColumnName = "Orderamount")]
[Description("申请金额")]
public decimal Orderamount { get; set; }
/// <summary>
/// 申请开票金额
/// </summary>
[SugarColumn(ColumnName = "Orderinvoice")]
[Description("申请开票金额")]
public decimal Orderinvoice { get; set; }
/// <summary>
/// 提交日期
/// </summary>
[SugarColumn(ColumnName = "Submitdate")]
[Description("提交日期")]
public DateTime? Submitdate { get; set; }
/// <summary>
/// 审核人
/// </summary>
[SugarColumn(ColumnName = "AuditOperator")]
[Description("审核人")]
public string AuditOperator { get; set; }
/// <summary>
/// 审核日期
/// </summary>
[SugarColumn(ColumnName = "AuditDate")]
[Description("审核日期")]
public DateTime? AuditDate { get; set; }
/// <summary>
/// 对帐编号
/// </summary>
[SugarColumn(ColumnName = "DebitNO")]
[Description("对帐编号")]
public string DebitNO { get; set; }
/// <summary>
/// 是否对帐
/// </summary>
[SugarColumn(ColumnName = "IsDebit")]
[Description("是否对帐")]
public bool IsDebit { get; set; }
/// <summary>
/// 是否机密费用
/// </summary>
[SugarColumn(ColumnName = "IsOpen")]
[Description("是否机密费用")]
public bool IsOpen { get; set; }
/// <summary>
/// 是否垫付
/// </summary>
[SugarColumn(ColumnName = "IsAdvancedPay")]
[Description("是否垫付")]
public bool IsAdvancedPay { get; set; }
/// <summary>
/// 顺序号
/// </summary>
[SugarColumn(ColumnName = "Sort")]
[Description("顺序号")]
public int Sort { get; set; }
/// <summary>
/// 是否禁开发票
/// </summary>
[SugarColumn(ColumnName = "IsInvoice")]
[Description("是否禁开发票")]
public bool IsInvoice { get; set; }
/// <summary>
/// 费用状态
/// </summary>
[SugarColumn(ColumnName = "FeeStatus")]
[Description("费用状态")]
public string FeeStatus { get; set; }
/// <summary>
/// Frt
/// </summary>
[SugarColumn(ColumnName = "FeeFrt")]
[Description("Frt")]
public string FeeFrt { get; set; }
/// <summary>
/// 是否销售订舱
/// </summary>
[SugarColumn(ColumnName = "IsCrmOrderFee")]
[Description("是否销售订舱")]
public bool IsCrmOrderFee { get; set; }
/// <summary>
/// 发票号
/// </summary>
[SugarColumn(ColumnName = "InvoiceNum")]
[Description("发票号")]
public string InvoiceNum { get; set; }
/// <summary>
/// 支票号
/// </summary>
[SugarColumn(ColumnName = "ChequeNum")]
[Description("支票号")]
public string ChequeNum { get; set; }
/// <summary>
/// 仓储编号
/// </summary>
[SugarColumn(ColumnName = "WmsOutBSNO")]
[Description("仓储编号")]
public string WmsOutBSNO { get; set; }
/// <summary>
/// 行号
/// </summary>
[SugarColumn(ColumnName = "LineNum")]
[Description("行号")]
public int LineNum { get; set; }
/// <summary>
/// 税率
/// </summary>
[SugarColumn(ColumnName = "TaxRate")]
[Description("税率")]
public decimal TaxRate { get; set; }
/// <summary>
/// 不含税金额
/// </summary>
[SugarColumn(ColumnName = "NoTaxAmount")]
[Description("不含税金额")]
public decimal NoTaxAmount { get; set; }
/// <summary>
/// 财务税率
/// </summary>
[SugarColumn(ColumnName = "AccTaxRate")]
[Description("财务税率")]
public decimal AccTaxRate { get; set; }
/// <summary>
/// 是否生成凭证
/// </summary>
[SugarColumn(ColumnName = "IsVou")]
[Description("是否生成凭证")]
public bool IsVou { get; set; }
/// <summary>
/// 报销编号
/// </summary>
[SugarColumn(ColumnName = "BxId")]
[Description("报销编号")]
public string BxId { get; set; }
/// <summary>
/// 税额
/// </summary>
[SugarColumn(ColumnName = "Tax")]
[Description("税额")]
public decimal Tax { get; set; }
/// <summary>
/// 申请结算金额
/// </summary>
[SugarColumn(ColumnName = "OrderSettlement")]
[Description("申请结算金额")]
public decimal OrderSettlement { get; set; }
/// <summary>
/// 含税单价
/// </summary>
[SugarColumn(ColumnName = "TaxUnitPrice")]
[Description("含税单价")]
public decimal TaxUnitPrice { get; set; }
/// <summary>
/// 申请发票开票金额
/// </summary>
[SugarColumn(ColumnName = "OrderInvSettlement")]
[Description("申请发票开票金额")]
public decimal OrderInvSettlement { get; set; }
/// <summary>
/// 凭证号
/// </summary>
[SugarColumn(ColumnName = "VouallNO")]
[Description("凭证号")]
public string VouallNO { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "SalesNO")]
[Description("")]
public string SalesNO { get; set; }
/// <summary>
/// 借款编号
/// </summary>
[SugarColumn(ColumnName = "JkId")]
[Description("借款编号")]
public string JkId { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "DeliveryNO")]
[Description("")]
public string DeliveryNO { get; set; }
/// <summary>
/// 本位币
/// </summary>
[SugarColumn(ColumnName = "LocalCurr")]
[Description("本位币")]
public string LocalCurr { get; set; }
/// <summary>
/// 责任人
/// </summary>
[SugarColumn(ColumnName = "Manager")]
[Description("责任人")]
public string Manager { get; set; }
/// <summary>
/// 是否财务费用
/// </summary>
[SugarColumn(ColumnName = "IsAcc")]
[Description("是否财务费用")]
public bool IsAcc { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "PaymentId")]
[Description("")]
public string PaymentId { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "StatementNO")]
[Description("")]
public string StatementNO { get; set; }
/// <summary>
/// 核算单位
/// </summary>
[SugarColumn(ColumnName = "SaleCorp")]
[Description("核算单位")]
public string SaleCorp { get; set; }
/// <summary>
/// 财务税率
/// </summary>
[SugarColumn(ColumnName = "AccTax")]
[Description("财务税率")]
public decimal AccTax { get; set; }
/// <summary>
/// 发票自助连接
/// </summary>
[SugarColumn(ColumnName = "InvLinkId")]
[Description("发票自助连接")]
public string InvLinkId { get; set; }
/// <summary>
/// 提交人
/// </summary>
[SugarColumn(ColumnName = "SubmitOp")]
[Description("提交人")]
public string SubmitOp { get; set; }
/// <summary>
/// 租户名称
/// </summary>
[SugarColumn(ColumnName = "TenantName")]
[Description("租户名称")]
public string TenantName { get; set; }
}
}