refactor: Migrate backend and frontend architecture from a module-based to an app-based structure.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
namespace Zentral.API.Apps.Production.Dtos;
|
||||
|
||||
public class CreateBillOfMaterialsDto
|
||||
{
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public string Description { get; set; } = string.Empty;
|
||||
public int ArticleId { get; set; }
|
||||
public decimal Quantity { get; set; }
|
||||
public List<CreateBillOfMaterialsComponentDto> Components { get; set; } = new();
|
||||
}
|
||||
|
||||
public class CreateBillOfMaterialsComponentDto
|
||||
{
|
||||
public int ComponentArticleId { get; set; }
|
||||
public decimal Quantity { get; set; }
|
||||
public decimal ScrapPercentage { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user