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#

using DS.Module.Core.Data;
using SqlSugar;
namespace DS.WMS.Core.Application.Entity
{
/// <summary>
/// 发票申请明细
/// </summary>
[SugarTable("application_invoice_detail", TableDescription = "发票申请明细")]
public class InvoiceDetail : BaseModelV2<long>
{
/// <summary>
/// 申请单ID
/// </summary>
[SugarColumn(ColumnDescription = "申请单ID", IsNullable = false)]
public long ApplicationId { get; set; }
/// <summary>
/// 明细项名称
/// </summary>
[SugarColumn(ColumnDescription = "明细项名称", Length = 100, IsNullable = false)]
public string Name { get; set; }
/// <summary>
/// 规格型号
/// </summary>
[SugarColumn(ColumnDescription = "规格型号", Length = 100, IsNullable = true)]
public string? Specification { get; set; }
/// <summary>
/// 单位
/// </summary>
[SugarColumn(ColumnDescription = "单位", IsNullable = true, Length = 50)]
public string? Unit { get; set; }
/// <summary>
/// 单价
/// </summary>
[SugarColumn(ColumnDescription = "单价", IsNullable = false)]
public decimal UnitPrice { get; set; }
/// <summary>
/// 含税单价
/// </summary>
[SugarColumn(ColumnDescription = "含税单价", IsNullable = false)]
public decimal TaxUnitPrice { get; set; }
/// <summary>
/// 税率
/// </summary>
[SugarColumn(ColumnDescription = "税率", IsNullable = false)]
public decimal TaxRate { get; set; }
/// <summary>
/// 税额
/// </summary>
[SugarColumn(ColumnDescription = "税额", IsNullable = false)]
public decimal TaxAmount { get; set; }
}
}