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