Bug fix in ExportSalesInvoice and converted more code over to repository and service pattern

This commit is contained in:
2025-07-07 15:22:21 +01:00
parent 5900a6e6e4
commit 5cd653d700
64 changed files with 2623 additions and 2517 deletions

View File

@@ -9,7 +9,7 @@ namespace bnhtrade.Core.Model.Account
{
public class Account
{
public Account(uint id, uint accountCode, string accountName, string description, string type, string basicType, int multiplier)
public Account(int id, int accountCode, string accountName, string description, string type, string basicType, int multiplier)
{
Id = id;
AccountCode = accountCode;
@@ -23,9 +23,9 @@ namespace bnhtrade.Core.Model.Account
/// <summary>
/// Database record id
/// </summary>
public uint Id { get; private set; }
public int Id { get; private set; }
public uint AccountCode { get; private set; }
public int AccountCode { get; private set; }
public string AccountName { get; private set; }