using System.Runtime.CompilerServices;
using Quadarax.Application.QLiberace.Common.Dtos;
using Quadarax.Foundation.Core.Data.Interface.Entity;
#if DEBUG
[assembly: InternalsVisibleTo("qdr.app.qlbrc.base.Tests")]
[assembly: InternalsVisibleTo("qdr.app.qlbrc.common.Tests")]
#endif
namespace Quadarax.Application.QLiberace.Customer.Dtos
{
public class CustomerRDto : QlbrcDtoTrackedWithId, IReadDto
{
///
/// 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 class CustomerWDto : QlbrcDtoWithoutId, IUpdateDto, ICreateDto
{
///
/// 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 class CustomerDDto : QlbrcDtoWithId, IDeleteDto
{
}
}