26 lines
1.1 KiB
C#
26 lines
1.1 KiB
C#
using AyCode.Core.Serializers.Attributes;
|
|
using AyCode.Core.Serializers.Toons;
|
|
using FruitBank.Common.Enums;
|
|
using LinqToDB.Mapping;
|
|
using Mango.Nop.Core.Entities;
|
|
|
|
namespace FruitBank.Common.Entities;
|
|
|
|
[AcBinarySerializable(false, true, false, true, false, false)]
|
|
[Table(Name = FruitBankConstClient.PreOrderDbTableName)]
|
|
[System.ComponentModel.DataAnnotations.Schema.Table(FruitBankConstClient.PreOrderDbTableName)]
|
|
//[ToonDescription("Shipping document with partner, items and files", Purpose = "A digital representation of a supplier's delivery note or invoice associated with the shipment, used for reconciling paper-based data with measured reality")]
|
|
public sealed class Preorder : MgEntityBase
|
|
{
|
|
public int CustomerId { get; set; }
|
|
public int StoreId { get; set; }
|
|
public DateTime DateOfReceipt { get; set; }
|
|
public PreorderStatus Status { get; set; }
|
|
public string? CustomerNote { get; set; }
|
|
public DateTime CreatedOnUtc { get; set; }
|
|
public DateTime UpdatedOnUtc { get; set; }
|
|
public int? OrderId { get; set; }
|
|
|
|
public List<PreorderItem> PreorderItems { get; set; } = new();
|
|
}
|