phronCare/Domain/Dtos/Sales/SalesDocumentDetailDto.cs
leandro 5e894ddca5
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (pull_request) Successful in 7m39s
feat(domain): add sales document domain contracts with coverage
- add sales document domain entities
- add coverage-oriented DTO contracts
- add sales document enums/constants
- prepare domain model for mixed coverage scenarios
- align domain contracts with future ARCA integration

closes #57
2026-05-07 00:33:34 -03:00

26 lines
1.0 KiB
C#

namespace Domain.Dtos.Sales
{
public class SalesDocumentDetailDto
{
public int Id { get; set; }
public int SalesDocumentId { get; set; }
public int LineNumber { get; set; }
public string OriginType { get; set; } = string.Empty;
public int? OriginId { get; set; }
public int? QuoteDetailId { get; set; }
public int? ProductId { get; set; }
public string Description { get; set; } = string.Empty;
public decimal Quantity { get; set; }
public decimal? AuthorizedUnitPrice { get; set; }
public decimal? AuthorizedAmount { get; set; }
public decimal? BilledPercentage { get; set; }
public decimal UnitPrice { get; set; }
public decimal NetAmount { get; set; }
public decimal TaxAmount { get; set; }
public decimal TotalAmount { get; set; }
public string? OriginSnapshotJson { get; set; }
public DateTime Createdat { get; set; }
public DateTime? Modifiedat { get; set; }
}
}