Import products

This commit is contained in:
Michał Zieliński
2025-06-28 18:54:08 +01:00
parent eb4b2efbff
commit 518eff0ec7
9 changed files with 167 additions and 1 deletions

View File

@@ -3,4 +3,7 @@ namespace Bimix.Domain.Entities;
public class Product : BaseEntity
{
public required string Name { get; set; }
public string? Code { get; set; }
public string? Ean { get; set; }
public string? StockAddresses { get; set; }
}

View File

@@ -2,6 +2,6 @@ namespace Bimix.Domain.Entities;
public class SyncState
{
public required string Entity { get; set; }
public required string Entity { get; init; }
public required long LastSynced { get; set; } // UnixTimestamp
}