adding delivery
This commit is contained in:
@@ -26,6 +26,7 @@ public class Location
|
||||
public int StoredResourceAmount { get; set; }
|
||||
public int StoredResourceCapacity { get; set; } = 10;
|
||||
public DateTime? LastResourceGeneratedAtUtc { get; set; }
|
||||
public DateTime? DeliveryCycleStartedAtUtc { get; set; }
|
||||
public DateTime? HomeAssignedAtUtc { get; set; }
|
||||
public DateTime CreatedAtUtc { get; set; } = DateTime.UtcNow;
|
||||
public DateTime UpdatedAtUtc { get; set; } = DateTime.UtcNow;
|
||||
|
||||
@@ -77,6 +77,10 @@ public class UnitInstanceResponse
|
||||
public int? DestinationQ { get; set; }
|
||||
public int? DestinationR { get; set; }
|
||||
public bool ClaimOnArrival { get; set; }
|
||||
public int? WorksiteQ { get; set; }
|
||||
public int? WorksiteR { get; set; }
|
||||
public string? CarryingResourceType { get; set; }
|
||||
public int CarryingResourceAmount { get; set; }
|
||||
public DateTime? MovementStartedAtUtc { get; set; }
|
||||
public DateTime? MovementCompletesAtUtc { get; set; }
|
||||
public DateTime CreatedAtUtc { get; set; }
|
||||
@@ -96,6 +100,10 @@ public class UnitInstanceResponse
|
||||
DestinationQ = unit.DestinationQ,
|
||||
DestinationR = unit.DestinationR,
|
||||
ClaimOnArrival = unit.ClaimOnArrival,
|
||||
WorksiteQ = unit.WorksiteQ,
|
||||
WorksiteR = unit.WorksiteR,
|
||||
CarryingResourceType = unit.CarryingResourceType,
|
||||
CarryingResourceAmount = unit.CarryingResourceAmount,
|
||||
MovementStartedAtUtc = unit.MovementStartedAtUtc,
|
||||
MovementCompletesAtUtc = unit.MovementCompletesAtUtc,
|
||||
CreatedAtUtc = unit.CreatedAtUtc,
|
||||
|
||||
@@ -20,6 +20,10 @@ public class UnitInstance
|
||||
public int? DestinationQ { get; set; }
|
||||
public int? DestinationR { get; set; }
|
||||
public bool ClaimOnArrival { get; set; }
|
||||
public int? WorksiteQ { get; set; }
|
||||
public int? WorksiteR { get; set; }
|
||||
public string? CarryingResourceType { get; set; }
|
||||
public int CarryingResourceAmount { get; set; }
|
||||
public DateTime? MovementStartedAtUtc { get; set; }
|
||||
public DateTime? MovementCompletesAtUtc { get; set; }
|
||||
public string? SourceTrainingId { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user