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.
44 lines
1.2 KiB
C#
44 lines
1.2 KiB
C#
using DS.WMS.Core.Fee.Entity;
|
|
using SqlSugar;
|
|
|
|
namespace DS.WMS.Core.Application.Entity
|
|
{
|
|
/// <summary>
|
|
/// 费用代码与发票申请明细关系
|
|
/// </summary>
|
|
[SugarTable("fee_code_invoice_detail", TableDescription = "费用代码与发票申请明细关系")]
|
|
public class FeeCodeInvoiceDetail
|
|
{
|
|
/// <summary>
|
|
/// 费用代码ID
|
|
/// </summary>
|
|
[SugarColumn(IsPrimaryKey = true)]
|
|
public long FeeCodeId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 费用代码
|
|
/// </summary>
|
|
[Navigate(NavigateType.OneToOne, nameof(FeeCodeId))]
|
|
public FeeCode? FeeCode { 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>
|
|
/// 发票明细名称
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "发票明细名称", Length = 50, IsNullable = false)]
|
|
public string DetailName { get; set; } = string.Empty;
|
|
|
|
}
|
|
}
|