﻿using FictionHub.Domain.Core.Events;
using FluentValidation.Results;
using System;
using System.Collections.Generic;
using System.Text;

namespace FictionHub.Domain.Core.Commands
{
    public abstract class BaseCommand : Message
    {
        protected BaseCommand()
        {
            this.Timestamp = DateTime.Now;
        }
        protected DateTime Timestamp { get; private set; }
        public ValidationResult ValidationResult { get; set; }

        public abstract bool IsValid();
    }
}
