NameChanger

This commit is contained in:
Sergey Kozyrev 2024-04-30 20:24:53 +04:00
parent f6f89d9cfe
commit 7fac66c33b
2 changed files with 4 additions and 4 deletions

View File

@ -10,6 +10,6 @@ namespace Contracts.ViewModels
{
public string DetailName { get; set; } = string.Empty;
public List<string> Productions { get; set; } = new();
public List<string> Machines { get; set; } = new();
public List<string> Products { get; set; } = new();
}
}

View File

@ -19,7 +19,7 @@
<thead>
<tr>
<th>Деталь</th>
<th>Станки</th>
<th>Изделие</th>
<th>Производства</th>
</tr>
</thead>
@ -30,9 +30,9 @@
<td>@detail.DetailName</td>
<td>
<ul>
@foreach (var machine in detail.Machines)
@foreach (var product in detail.Products)
{
<li>@machine</li>
<li>@product</li>
}
</ul>
</td>