22 lines
738 B
C#
22 lines
738 B
C#
using FruitBank.Common.Enums;
|
|
using LinqToDB.Mapping;
|
|
using Mango.Nop.Core.Entities;
|
|
|
|
namespace FruitBank.Common.Entities;
|
|
|
|
[Table(Name = FruitBankConstClient.PreOrderDbTableName)]
|
|
[System.ComponentModel.DataAnnotations.Schema.Table(FruitBankConstClient.PreOrderDbTableName)]
|
|
public 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();
|
|
}
|