-
Notifications
You must be signed in to change notification settings - Fork 0
/
DeliveryOrder.cs
40 lines (35 loc) · 1.18 KB
/
DeliveryOrder.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
using System.Collections.Generic;
using WorkflowLib.Shared.Models.Business;
using WorkflowLib.Shared.Models.Business.Delivery;
using WorkflowLib.Shared.Models.Business.Monetary;
using WorkflowLib.Shared.Models.Business.Processes;
using WorkflowLib.Shared.Models.Business.Products;
namespace WorkflowLib.Shared.Models.Business.BusinessDocuments
{
/// <summary>
/// Delivery order.
/// </summary>
public class DeliveryOrder : Order, IBusinessEntityWF
{
/// <summary>
/// Parent delivery order.
/// </summary>
public DeliveryOrder? ParentDeliveryOrder { get; set; }
/// <summary>
/// Delivery method.
/// </summary>
public DeliveryMethod? DeliveryMethod { get; set; }
/// <summary>
/// Price for the delivery.
/// </summary>
public decimal DeliveryPrice { get; set; }
/// <summary>
/// Initial address of the delivery.
/// </summary>
public string? Origin { get; set; }
/// <summary>
/// Final address of the delivery (destination).
/// </summary>
public string? Destination { get; set; }
}
}