rafaelturon/blockchain-investments

View on GitHub
src/Blockchain.Investments.Core/Domain/WriteModel/Commands/BaseCommand.cs

Summary

Maintainability
A
0 mins
Test Coverage
using System;
using CQRSlite.Commands;

public class BaseCommand : ICommand  
{
    /// <summary>
    /// The Aggregate ID of the Aggregate Root being changed
    /// </summary>
    public Guid Id { get; set; }

    /// <summary>
    /// The Expected Version which the Aggregate will become.
    /// </summary>
    public int ExpectedVersion { get; set; }
}