This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
namespace Demo.EventSourced | |
{ | |
public class ShipmentState | |
{ | |
public List<StopState> Stops { get; set; } | |
public StopState CurrentStopState { get; set; } | |
} | |
public class StopState | |
{ | |
public StopState(int stopId, StopType type, StopStatus status) | |
{ | |
StopId = stopId; | |
Type = type; | |
Status = status; | |
} | |
public int StopId { get; set; } | |
public StopType Type { get; set; } | |
public StopStatus Status { get; set; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment