Customer

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

Represents a customer with tracking capabilities.

public class Customer : EntityTracker, INotifyPropertyChanged

Inheritance

objectEntityTrackerCustomer

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

Customer()

public Customer()

Properties

Address

Gets or sets the primary address of the customer.

public string Address { get; set; }

Property Value

string

Address1

Gets or sets the secondary address line 1 of the customer.

public string Address1 { get; set; }

Property Value

string

Address2

Gets or sets the secondary address line 2 of the customer.

public string Address2 { get; set; }

Property Value

string

City

Gets or sets the city of the customer's address.

public string City { get; set; }

Property Value

string

Code

Gets or sets the unique code for the customer.

public string Code { get; set; }

Property Value

string

Company

Gets or sets the company name associated with the customer.

public string Company { get; set; }

Property Value

string

Contacts

Gets or sets the collection of contacts associated with the customer.

public virtual ICollection<Contact> Contacts { get; set; }

Property Value

ICollection<Contact>

Country

Gets or sets the country of the customer's address.

public string Country { get; set; }

Property Value

string

CountryCode

Gets or sets the country code associated with the customer's address.

public string CountryCode { get; set; }

Property Value

string

CreatedAt

Gets or sets the date and time when the customer was created.

public DateTime? CreatedAt { get; set; }

Property Value

DateTime?

CustomerOrders

Gets or sets the collection of orders placed by the customer.

public virtual ICollection<Order> CustomerOrders { get; set; }

Property Value

ICollection<Order>

CustomerResources

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

public virtual ICollection<CustomerResource> CustomerResources { get; set; }

Property Value

ICollection<CustomerResource>

Downloads

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

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

Property Value

ICollection<Download>

Email

Gets or sets the email address of the customer.

public string Email { get; set; }

Property Value

string

Fax

Gets or sets the fax number of the customer.

public string Fax { get; set; }

Property Value

string

FirstName

Gets or sets the first name of the customer.

public string FirstName { get; set; }

Property Value

string

Id

Gets or sets the unique identifier for the customer.

public int Id { get; set; }

Property Value

int

Image

Gets or sets the image associated with the customer.

public virtual byte[] Image { get; set; }

Property Value

byte[]

InvoiceCode

Gets or sets the invoice code for the customer.

public string InvoiceCode { get; set; }

Property Value

string

IsReseller

Gets or sets a value indicating whether the customer is a reseller.

public bool IsReseller { get; set; }

Property Value

bool

LastName

Gets or sets the last name of the customer.

public string LastName { get; set; }

Property Value

string

MapCoordinates

Gets or sets the map coordinates for the customer's location.

public string MapCoordinates { get; set; }

Property Value

string

MapZoomLevel

Gets or sets the map zoom level for the customer's location.

public double? MapZoomLevel { get; set; }

Property Value

double?

Mobile

Gets or sets the mobile phone number of the customer.

public string Mobile { get; set; }

Property Value

string

Notes

Gets or sets any additional notes related to the customer.

public string Notes { get; set; }

Property Value

string

Phone

Gets or sets the phone number of the customer.

public string Phone { get; set; }

Property Value

string

PostalCode

Gets or sets the postal code of the customer's address.

public string PostalCode { get; set; }

Property Value

string

Rating

Gets or sets the rating of the customer.

public int Rating { get; set; }

Property Value

int

Region

Gets or sets the region of the customer's address.

public string Region { get; set; }

Property Value

string

ResellerOrders

Gets or sets the collection of orders placed by the customer as a reseller.

public virtual ICollection<Order> ResellerOrders { get; set; }

Property Value

ICollection<Order>

Title

Gets or sets the title of the customer.

public string Title { get; set; }

Property Value

string

UpdatedAt

Gets or sets the date and time when the customer was last updated.

public DateTime? UpdatedAt { get; set; }

Property Value

DateTime?

Users

Gets or sets the collection of users associated with the customer.

public virtual ICollection<User> Users { get; set; }

Property Value

ICollection<User>

VatCode

Gets or sets the VAT (Value Added Tax) code for the customer.

public string VatCode { get; set; }

Property Value

string

Website

Gets or sets the website URL of the customer.

public string Website { get; set; }

Property Value

string

Last updated