Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Created September 9, 2021 21:14
Show Gist options
  • Save dcomartin/9518d7edff0627f1dd591824c7dc14dd to your computer and use it in GitHub Desktop.
Save dcomartin/9518d7edff0627f1dd591824c7dc14dd to your computer and use it in GitHub Desktop.
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