using Quadarax.Application.QLiberace.Common.Entities.Base;
namespace Quadarax.Application.QLiberace.Customer.Entities
{
public class Customer : QlbrcEntityTenantCode
{
///
/// Customer code. Main key to search.
///
public string Code { get; set; } = null!;
///
/// Customer head name. For identification usage.
///
public string Name { get; set; } = null!;
///
/// Customer tax number (business identifier)
///
public string? TaxNumber { get; set; }
///
/// Customer VAT number (VAT identification)
///
public string? VatNumber { get; set; }
///
/// Flag if VAT calculation is allowed
///
public bool? VatIncluded { get; set; }
///
/// Tax country region code
///
public string TaxCountryCode { get; set; } = null!;
public virtual ICollection Contacts { get; set; } = null!;
public virtual ICollection Users { get; set; } = null!;
public Customer()
{
Contacts = new List();
Users = new List();
}
}
}