23 lines
776 B
C#
23 lines
776 B
C#
using FruitBank.Common.Interfaces;
|
|
using LinqToDB.Mapping;
|
|
using Mango.Nop.Core.Entities;
|
|
|
|
namespace FruitBank.Common.Entities;
|
|
|
|
[Table(Name = FruitBankConstClient.ShippingDbTableName)]
|
|
[System.ComponentModel.DataAnnotations.Schema.Table(FruitBankConstClient.ShippingDbTableName)]
|
|
public class Shipping : MgEntityBase, IShipping
|
|
{
|
|
public int PartnerId { get; set; }
|
|
public DateTime ShippingDate { get; set; }
|
|
public string LicencePlate { get; set; }
|
|
public bool IsAllMeasured { get; set; }
|
|
|
|
//[Association(ThisKey = nameof(ShippingDocumentId), OtherKey = nameof(ShippingItem.sh))]
|
|
//public IEnumerable<Shipping> Shippings { get; set; }
|
|
|
|
|
|
[SkipValuesOnUpdate]
|
|
public DateTime Created { get; set; }
|
|
public DateTime Modified { get; set; }
|
|
} |