namespace Modules.ERP.Items.Search;

public sealed record ItemMasterRow(
    Guid Id,
    string Code,
    string Name,
    string CategoryName,
    string Specification,
    string Unit,
    string Barcode,
    Guid? DefaultWarehouseId,
    string DefaultWarehouseName,
    bool LotManaged,
    bool ExpiryManaged,
    bool Active,
    long Version);

public sealed record SearchItemsResponse(
    IReadOnlyList<ItemMasterRow> Items,
    int TotalCount);
