FruitBankHybridApp/FruitBank.Common/Interfaces/IMeasuringAttributeValues.cs

13 lines
353 B
C#

using AyCode.Interfaces.Entities;
namespace FruitBank.Common.Interfaces;
public interface IMeasuringAttributeValues : IEntityInt
{
double? NetWeight { get; set; }
double? GrossWeight { get; set; }
bool? IsMeasurable { get; set; }
bool HasValues(); //=> Id > 0 && NetWeight != null && GrossWeight != null && IsMeasurable != null;
}