14 lines
569 B
C#
14 lines
569 B
C#
namespace Zentral.API.Apps.Production.Dtos;
|
|
|
|
public class CreateProductionOrderDto
|
|
{
|
|
public int ArticleId { get; set; }
|
|
public decimal Quantity { get; set; }
|
|
public DateTime StartDate { get; set; }
|
|
public DateTime DueDate { get; set; }
|
|
public string? Notes { get; set; }
|
|
public int? BillOfMaterialsId { get; set; } // Optional: create from BOM
|
|
public bool CreateChildOrders { get; set; } = false; // Optional: recursively create orders for sub-assemblies
|
|
public int? ParentProductionOrderId { get; set; } // Internal use for recursion
|
|
}
|