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.

96 lines
3.0 KiB
C#

using DS.Module.Core.Enums;
using DS.WMS.Core.Code.Entity;
using SqlSugar;
namespace DS.WMS.Core.Application.Entity
{
/// <summary>
/// 付费申请
/// </summary>
[SugarTable("application_payment", TableDescription = "付费申请")]
public class PaymentApplication : ApplicationForm
{
/// <summary>
/// 状态
/// </summary>
[SugarColumn(ColumnDescription = "状态")]
public new PaymentApplicationStatus Status { get; set; }
/// <summary>
/// 人民币申请金额
/// </summary>
[SugarColumn(ColumnDescription = "人民币申请金额", IsNullable = true)]
public decimal? AmountRMB { get; set; }
/// <summary>
/// 美元申请金额
/// </summary>
[SugarColumn(ColumnDescription = "美元申请金额", IsNullable = true)]
public decimal? AmountUSD { get; set; }
/// <summary>
/// 其他币别申请金额
/// </summary>
[SugarColumn(ColumnDescription = "其他币别申请金额", IsNullable = true)]
public decimal? AmountOther { get; set; }
/// <summary>
/// 结算方式
/// </summary>
[SugarColumn(ColumnDescription = "结算方式")]
public long? SettlementTypeId { get; set; }
[Navigate(NavigateType.OneToOne, nameof(SettlementTypeId))]
public CodeStlMode SettlementType { get; set; }
/// <summary>
/// 结算人ID
/// </summary>
[SugarColumn(ColumnDescription = "结算人ID")]
public long? SettlerId { get; set; }
/// <summary>
/// 结算人名称
/// </summary>
[SugarColumn(ColumnDescription = "结算人名称", Length = 50)]
public string? SettlerName { get; set; }
/// <summary>
/// 结算时间
/// </summary>
[SugarColumn(ColumnDescription = "结算时间")]
public DateTime? SettlementTime { get; set; }
/// <summary>
/// 支付申请人
/// </summary>
[SugarColumn(ColumnDescription = "支付申请人")]
public long? PaymentApplicantId { get; set; }
// <summary>
/// 支付申请人
/// </summary>
[SugarColumn(ColumnDescription = "支付申请人名称", Length = 50)]
public string? PaymentApplicantName { get; set; }
/// <summary>
/// 申请支付日期
/// </summary>
[SugarColumn(ColumnDescription = "申请支付日期")]
public DateTime? PaymentDate { get; set; }
/// <summary>
/// 支票备注
/// </summary>
[SugarColumn(ColumnDescription = "支票备注", Length = 200)]
public string? ChequeRemarks { get; set; }
/// <summary>
/// 是否收到发票
/// </summary>
[SugarColumn(ColumnDescription = "是否收到发票", IsNullable = false, DefaultValue = "0")]
public bool IsInvoiceReceived { get; set; }
}
}