using FruitBank.Common.Interfaces; using LinqToDB; using LinqToDB.Mapping; using Mango.Nop.Core.Entities; namespace FruitBank.Common.Entities; [Table(Name = FruitBankConstClient.PalletDbTableName)] [System.ComponentModel.DataAnnotations.Schema.Table(FruitBankConstClient.PalletDbTableName)] public class Pallet : MgEntityBase, IPallet { public string Name { get; set; } public string Size { get; set; } [Column(DataType = DataType.DecFloat, CanBeNull = true)] public double? Weight { get; set; } [SkipValuesOnUpdate] public DateTime Created { get; set; } public DateTime Modified { get; set; } }