- Created ComplianceNFs.Core project with domain entities and ports - Implemented BuyingRecord, EnergyInvoice, ParsedInvoice entities - Defined domain interfaces for mail listening, XML and PDF parsing, and repository access - Established ComplianceNFs.Infrastructure project with file archiving, mail listening, and data access implementations - Developed PDF and XML parsers for invoice data extraction - Set up AccessDbRepository and AttachmentRepository for data retrieval and storage - Created ComplianceNFs.Service project for background processing and service orchestration - Implemented Worker service for periodic tasks - Established ComplianceNFs.Monitor project with WPF UI for monitoring invoice statuses - Added ViewModel for UI data binding and command handling - Configured project files for .NET 9.0 and necessary package references - Created initial appsettings.json for configuration management - Added TODOs and roadmap for future development
18 lines
589 B
C#
18 lines
589 B
C#
using System;
|
|
|
|
namespace ComplianceNFs.Core.Entities
|
|
{
|
|
public class BuyingRecord
|
|
{
|
|
public int CodTE { get; set; }
|
|
public string CodSmartUnidade { get; set; }
|
|
public int Mes { get; set; } // month as integer
|
|
public int Ano { get; set; } // year as integer
|
|
public string CnpjComp { get; set; }
|
|
public string CnpjVend { get; set; }
|
|
public decimal MontLO { get; set; } // expected volume
|
|
public decimal PrecLO { get; set; } // expected unit price
|
|
// … other client fields omitted
|
|
}
|
|
}
|