view Agendas/trunk/src/Agendas.Domain/Track.cs @ 90:d1688622fa88

Autenticando con twitter (falta emprolijar el código, pero autentica!)
author Nelo@Kenia.neluz.int
date Fri, 03 Jun 2011 21:35:59 -0300
parents c76661cff260
children db4b1e2cae49
line wrap: on
line source

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

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

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

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

}