Add support for inventory timestamps

This commit is contained in:
2025-05-29 09:55:07 -04:00
parent bd6682e861
commit 41a7f57988
8 changed files with 60 additions and 31 deletions

View File

@@ -0,0 +1,21 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace PartSource.Data.Models
{
public class PartAvailability
{
[Column(Order = 0)]
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public int Store { get; set; }
[Column(Order = 1)]
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public int SKU { get; set; }
public int? QTY { get; set; }
public DateTime? Updated { get; set; }
}
}