2025-12-08 19:12:16 +00:00
|
|
|
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; }
|
|
|
|
|
|
2025-12-08 21:56:32 +00:00
|
|
|
public decimal Subtotal { get; set; }
|
|
|
|
|
public decimal TaxAmount { get; set; }
|
|
|
|
|
public decimal DiscountAmount { get; set; }
|
|
|
|
|
public decimal TotalAmount { get; set; }
|
2025-12-08 19:12:16 +00:00
|
|
|
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; }
|
|
|
|
|
}
|