Correcting all errors of types, writed, and entities.
This commit is contained in:
12
PyroFetes/Models/MaterialWarehouse.cs
Normal file
12
PyroFetes/Models/MaterialWarehouse.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace PyroFetes.Models;
|
||||
|
||||
public class MaterialWarehouse
|
||||
{
|
||||
[Required] public int MaterialId { get; set; }
|
||||
[Required] public int WarehouseId { get; set; }
|
||||
|
||||
public Material? Material { get; set; }
|
||||
public Warehouse? Warehouse { get; set; }
|
||||
}
|
Reference in New Issue
Block a user