Country.cs 703 B

1234567891011121314151617181920
  1. using Quadarax.Application.QLiberace.Base.Entities.Interfaces;
  2. using Quadarax.Application.QLiberace.Common.Entities.Base;
  3. namespace Quadarax.Application.QLiberace.Base.Entities
  4. {
  5. public class Country: QlbrcEntityTracked, IStructCodeName
  6. {
  7. public string Code { get; set; } = null!;
  8. public string Name { get; set; } = null!;
  9. public int Vat { get; set; } = 0;
  10. public long DefaultCurrencyId { get; set; }
  11. public Currency DefaultCurrency { get; set; } = null!;
  12. public virtual ICollection<TenantCountry> Tenants { get; set; }
  13. public Country()
  14. {
  15. Tenants = new List<TenantCountry>();
  16. }
  17. }
  18. }