| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- 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
- {
- /// <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 class CustomerWDto : QlbrcDtoWithoutId, IUpdateDto, ICreateDto
- {
- /// <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 class CustomerDDto : QlbrcDtoWithId, IDeleteDto
- {
- }
- }
|