Implement fruitbank entities;
This commit is contained in:
parent
dd985b94f4
commit
372a3d6b40
|
|
@ -0,0 +1,19 @@
|
||||||
|
using FruitBank.Common.Entities;
|
||||||
|
using Mango.Nop.Core.Entities;
|
||||||
|
|
||||||
|
namespace Nop.Plugin.Misc.FruitBankPlugin.Domains;
|
||||||
|
|
||||||
|
public class Partner : MgEntityBase, IPartner
|
||||||
|
{
|
||||||
|
public int Id { get; set; }
|
||||||
|
public string Name { get; set; }
|
||||||
|
public string PostalCode { get; set; }
|
||||||
|
public string Country { get; set; }
|
||||||
|
public string State { get; set; }
|
||||||
|
public string County { get; set; }
|
||||||
|
public string City { get; set; }
|
||||||
|
public string Street { get; set; }
|
||||||
|
|
||||||
|
public DateTime Created { get; set; }
|
||||||
|
public DateTime Modified { get; set; }
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,15 @@
|
||||||
|
using FruitBank.Common.Entities;
|
||||||
|
using Mango.Nop.Core.Entities;
|
||||||
|
|
||||||
|
namespace Nop.Plugin.Misc.FruitBankPlugin.Domains;
|
||||||
|
|
||||||
|
public class Shipping : MgEntityBase, IShipping
|
||||||
|
{
|
||||||
|
public int Id { get; set; }
|
||||||
|
public int PartnerId { get; set; }
|
||||||
|
public DateTime ShippingDate { get; set; }
|
||||||
|
public string LicencePlate { get; set; }
|
||||||
|
|
||||||
|
public DateTime Created { get; set; }
|
||||||
|
public DateTime Modified { get; set; }
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
using FruitBank.Common.Entities;
|
||||||
|
using Mango.Nop.Core.Entities;
|
||||||
|
|
||||||
|
namespace Nop.Plugin.Misc.FruitBankPlugin.Domains;
|
||||||
|
|
||||||
|
public class ShippingItem : MgEntityBase, IShippingItem
|
||||||
|
{
|
||||||
|
public int Id { get; set; }
|
||||||
|
public int ShippingDocumentId { get; set; }
|
||||||
|
public string Name { get; set; }
|
||||||
|
public double NetWeight { get; set; }
|
||||||
|
public double GrossWeight { get; set; }
|
||||||
|
public double MeasuredNetWeight { get; set; }
|
||||||
|
public double MeasuredGrossWeight { get; set; }
|
||||||
|
|
||||||
|
public DateTime Created { get; set; }
|
||||||
|
public DateTime Modified { get; set; }
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
using FruitBank.Common.Entities;
|
||||||
|
using Mango.Nop.Core.Entities;
|
||||||
|
|
||||||
|
namespace Nop.Plugin.Misc.FruitBankPlugin.Domains;
|
||||||
|
|
||||||
|
public class SippingDocument : MgEntityBase, ISippingDocument
|
||||||
|
{
|
||||||
|
public int Id { get; set; }
|
||||||
|
public int PartnerId { get; set; }
|
||||||
|
public int ShippingId { get; set; }
|
||||||
|
public int ShippingItemId { get; set; }
|
||||||
|
public DateTime ShippingDate { get; set; }
|
||||||
|
public string Country { get; set; }
|
||||||
|
|
||||||
|
public DateTime Created { get; set; }
|
||||||
|
public DateTime Modified { get; set; }
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue