This commit is contained in:
2025-10-09 16:55:29 +02:00
parent 8a8a47c99c
commit 8f4171a045
134 changed files with 5101 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
using System.ComponentModel.DataAnnotations;
using Microsoft.EntityFrameworkCore;
namespace PyroFetes.Models;
[PrimaryKey(nameof(ProductId), nameof(WarehouseId))]
public class WarehouseProduct
{
[Required] public int ProductId { get; set; }
public Product? Product { get; set; }
[Required] public int WarehouseId { get; set; }
public Warehouse? Warehouse { get; set; }
[Required] public int Quantity { get; set; }
}