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