Order

Namespace: Babel.Data Assembly: Babel.Data.dll

Represents an order in the system.

public class Order : EntityTracker, INotifyPropertyChanged

Inheritance

objectEntityTrackerOrder

Implements

INotifyPropertyChanged

Inherited Members

EntityTracker.SetWithNotify<T>(T, ref T, string), EntityTracker.IsDirty, EntityTracker.PropertyChanged, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

Order()

public Order()

Properties

CreatedAt

Gets or sets the date and time the order was created.

public DateTime? CreatedAt { get; set; }

Property Value

DateTime?

CreatedBy

Gets or sets the user who created the order.

[ForeignKey("CreatedById")]
public virtual User CreatedBy { get; set; }

Property Value

User

CreatedById

Gets or sets the ID of the user who created the order.

public string CreatedById { get; set; }

Property Value

string

Currency

Gets or sets the currency of the order.

public string Currency { get; set; }

Property Value

string

Customer

Gets or sets the customer associated with the order.

[ForeignKey("CustomerId")]
public virtual Customer Customer { get; set; }

Property Value

Customer

CustomerId

Gets or sets the ID of the customer associated with the order.

public int? CustomerId { get; set; }

Property Value

int?

Description

Gets or sets the description of the order.

public string Description { get; set; }

Property Value

string

Downloads

Gets or sets the collection of downloads associated with the order.

public virtual ICollection<Download> Downloads { get; set; }

Property Value

ICollection<Download>

Id

Gets or sets the ID of the order.

public int Id { get; set; }

Property Value

int

InvoiceNumber

Gets or sets the invoice number associated with the order.

public string InvoiceNumber { get; set; }

Property Value

string

Licenses

Gets or sets the collection of licenses associated with the order.

public virtual ICollection<License> Licenses { get; set; }

Property Value

ICollection<License>

OrderNumber

Gets or sets the order number.

public string OrderNumber { get; set; }

Property Value

string

OrderResources

Gets or sets the collection of order resources associated with the order.

public virtual ICollection<OrderResource> OrderResources { get; set; }

Property Value

ICollection<OrderResource>

PaymentDate

Gets or sets the date and time the payment was made for the order.

public DateTime? PaymentDate { get; set; }

Property Value

DateTime?

PaymentNumber

Gets or sets the payment number of the order.

public string PaymentNumber { get; set; }

Property Value

string

PaymentStatus

Gets or sets the payment status of the order.

public string PaymentStatus { get; set; }

Property Value

string

PaymentType

Gets or sets the payment type of the order.

public string PaymentType { get; set; }

Property Value

string

ProcessedBy

Gets or sets the name of the user who processed the order.

public string ProcessedBy { get; set; }

Property Value

string

ProductOrders

Gets or sets the collection of product orders associated with the order.

public virtual ICollection<ProductOrder> ProductOrders { get; set; }

Property Value

ICollection<ProductOrder>

PurchaseOrder

Gets or sets the purchase order number.

public string PurchaseOrder { get; set; }

Property Value

string

Reseller

Gets or sets the reseller associated with the order.

[ForeignKey("ResellerId")]
public virtual Customer Reseller { get; set; }

Property Value

Customer

ResellerId

Gets or sets the ID of the reseller associated with the order.

public int? ResellerId { get; set; }

Property Value

int?

Status

Gets or sets the status of the order.

public string Status { get; set; }

Property Value

string

Total

Gets or sets the total amount of the order.

[Column(TypeName = "decimal(18,4)")]
public decimal? Total { get; set; }

Property Value

decimal?

UpdatedAt

Gets or sets the date and time the order was last updated.

public DateTime? UpdatedAt { get; set; }

Property Value

DateTime?

Last updated