using AyCode.Core.Serializers.Attributes;
using AyCode.Core.Serializers.Toons;
namespace Nop.Core.Domain.Orders;
///
/// Represents an order note
///
[AcBinarySerializable(false, true, false, true, false)]
[ToonDescription("NopCommerce order note entity")]
public partial class OrderNote : BaseEntity
{
///
/// Gets or sets the order identifier
///
[ToonDescription($"Foreign key to parent {nameof(Order)}", ForeignKey = nameof(Order))]
public int OrderId { get; set; }
///
/// Gets or sets the note
///
public string Note { get; set; }
///
/// Gets or sets the attached file (download) identifier
///
public int DownloadId { get; set; }
///
/// Gets or sets a value indicating whether a customer can see a note
///
public bool DisplayToCustomer { get; set; }
///
/// Gets or sets the date and time of order note creation
///
public DateTime CreatedOnUtc { get; set; }
}