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.
61 lines
1.8 KiB
C#
61 lines
1.8 KiB
C#
using DS.WMS.Core.Fee.Entity;
|
|
using SqlSugar;
|
|
|
|
namespace DS.WMS.Core.Application.Entity
|
|
{
|
|
/// <summary>
|
|
/// 费用代码与发票申请明细关系
|
|
/// </summary>
|
|
[SugarTable("application_detail_relation", TableDescription = "发票明细与费用明细关系")]
|
|
public class ApplicationDetailRelation
|
|
{
|
|
/// <summary>
|
|
/// 费用明细ID
|
|
/// </summary>
|
|
[SugarColumn(IsPrimaryKey = true)]
|
|
public long DetailId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 发票明细
|
|
/// </summary>
|
|
[Navigate(NavigateType.OneToOne, nameof(DetailId))]
|
|
public ApplicationDetail? Detail { get; set; }
|
|
|
|
/// <summary>
|
|
/// 发票明细ID
|
|
/// </summary>
|
|
[SugarColumn(IsPrimaryKey = true)]
|
|
public long InvoiceDetailId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 发票明细
|
|
/// </summary>
|
|
[Navigate(NavigateType.OneToOne, nameof(InvoiceDetailId))]
|
|
public InvoiceDetail? InvoiceDetail { get; set; }
|
|
|
|
///// <summary>
|
|
///// 费用代码ID
|
|
///// </summary>
|
|
//public long? FeeId { get; set; }
|
|
|
|
///// <summary>
|
|
///// 费用代码
|
|
///// </summary>
|
|
//[Navigate(NavigateType.OneToOne, nameof(FeeId))]
|
|
//public FeeCode? FeeCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 发票申请/发票ID
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "发票申请/发票ID", IsNullable = false)]
|
|
public long InvoiceId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 原始发票明细名称
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "原始发票明细名称", IsNullable = false, Length = 50)]
|
|
public string OriginalName { get; set; }
|
|
|
|
}
|
|
}
|