﻿using System;

namespace Vaughan
{
	public interface IDatabaseHelper
	{
		string GetLocalDatabaseDirPath();
	}

	public interface IDataObject
	{
		int ID { get; set; }
		DateTime LastModified { get; set; }

		void PreSave();
		void PostSave();

		void PreDelete();
		void PostDelete();
	}

	public interface IServerObject : IDataObject
	{
		int ServerID { get; set; }
		bool IsDirty { get; set; }
		bool IsActive { get; set; }
	}
}
