FruitBankHybridApp/FruitBank.Common/Interfaces/IShippingItem.cs

29 lines
800 B
C#

using AyCode.Interfaces.Entities;
using AyCode.Interfaces.TimeStampInfo;
using FruitBank.Common.Entities;
using Nop.Core.Domain.Catalog;
namespace FruitBank.Common.Interfaces;
public interface IShippingItem : IEntityInt, ITimeStampInfo
{
int ShippingDocumentId { get; set; }
int? ProductId { get; set; }
string Name { get; set; }
int Quantity { get; set; }
double NetWeight { get; set; }
double GrossWeight { get; set; }
int? MeasuredQuantity { get; set; }
double? MeasuredNetWeight { get; set; }
double? MeasuredGrossWeight { get; set; }
bool IsMeasurable { get; set; }
bool IsMeasured { get; set; }
public Product? Product { get; set; }
public ShippingDocument? ShippingDocument { get; set; }
public bool IsValidMeasuringValues();
}