|
|
|
@ -1,5 +1,4 @@
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using DS.Module.Core.Data;
|
|
|
|
|
using DS.Module.Core.Data;
|
|
|
|
|
using DS.Module.Core.Enums;
|
|
|
|
|
using DS.WMS.Core.Application.Entity;
|
|
|
|
|
using DS.WMS.Core.Info.Entity;
|
|
|
|
@ -11,7 +10,7 @@ namespace DS.WMS.Core.Invoice.Entity
|
|
|
|
|
/// 发票相关基类
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarTable("application_invoice_form", TableDescription = "发票主表")]
|
|
|
|
|
public class Invoice : BaseModelV2<long>
|
|
|
|
|
public class Invoice : BaseOrgModelV2<long>
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 发票号
|
|
|
|
@ -140,10 +139,10 @@ namespace DS.WMS.Core.Invoice.Entity
|
|
|
|
|
public decimal TaxRate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 所属机构(公司)
|
|
|
|
|
/// 销方名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "所属机构(公司)")]
|
|
|
|
|
public long? OrgId { get; set; }
|
|
|
|
|
[SugarColumn(ColumnDescription = "销方名称", Length = 200, IsNullable = true)]
|
|
|
|
|
public string? OrgName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 发票抬头
|
|
|
|
|