44 lines
1.3 KiB
C#
44 lines
1.3 KiB
C#
|
|
using System;
|
||
|
|
using System.Collections.Generic;
|
||
|
|
using Volo.Abp.Domain.Entities.Auditing;
|
||
|
|
using Volo.Abp.MultiTenancy;
|
||
|
|
|
||
|
|
namespace Erp.Platform.Entities;
|
||
|
|
|
||
|
|
public class Waybill : FullAuditedEntity<Guid>, IMultiTenant
|
||
|
|
{
|
||
|
|
public Guid? TenantId { get; set; }
|
||
|
|
public Guid? BranchId { get; set; }
|
||
|
|
|
||
|
|
public string WaybillNumber { get; set; }
|
||
|
|
public Guid WaybillTypeId { get; set; }
|
||
|
|
public WaybillType WaybillType { get; set; }
|
||
|
|
|
||
|
|
public Guid CurrentAccountId { get; set; }
|
||
|
|
public CurrentAccount CurrentAccount { get; set; }
|
||
|
|
|
||
|
|
public DateTime WaybillDate { get; set; }
|
||
|
|
public DateTime? DeliveryDate { get; set; }
|
||
|
|
|
||
|
|
public double Subtotal { get; set; }
|
||
|
|
public double TaxAmount { get; set; }
|
||
|
|
public double DiscountAmount { get; set; }
|
||
|
|
public double TotalAmount { get; set; }
|
||
|
|
public string Currency { get; set; }
|
||
|
|
|
||
|
|
public Guid WaybillStatusId { get; set; }
|
||
|
|
public WaybillStatus WaybillStatus { get; set; }
|
||
|
|
|
||
|
|
public bool IsInvoiced { get; set; }
|
||
|
|
public Guid? InvoiceId { get; set; }
|
||
|
|
|
||
|
|
public string DeliveryAddress { get; set; }
|
||
|
|
public string ReceiverName { get; set; }
|
||
|
|
public string ReceiverPhone { get; set; }
|
||
|
|
public string CarrierCompany { get; set; }
|
||
|
|
public string TrackingNumber { get; set; }
|
||
|
|
public string Notes { get; set; }
|
||
|
|
|
||
|
|
public ICollection<WaybillItem> Items { get; set; }
|
||
|
|
}
|