view Agendas/trunk/src/Agendas.Domain/Track.cs @ 63:963b71ea6028

Repositorios con NH
author nelopauselli
date Tue, 17 May 2011 14:02:25 -0300
parents 37d99d239cae
children c7264bfc4b71
line wrap: on
line source

namespace AltNetHispano.Agendas.Domain
{
	public class Track
	{
		protected Track()
		{
			//ctor para NHibernate
		}

		public Track(Accion accion)
		{
			Usuario = IdentityContext.GetUserName();
			Accion = accion;
		}

		public virtual Accion Accion { get; private set; }
		protected virtual string Usuario { get; private set; }
	}

	public enum Accion
	{
		Proponer = 1,
		Publicar = 2,
		Modificar = 3,
		CambiarTitulo = 4,
		Realizar = 5	
	}

}