view Agendas/trunk/src/Agendas.Web/Models/PropuestaModel.cs @ 119:8fa58a79656a

Historico
author Nelo@Kenia.neluz.int
date Wed, 22 Jun 2011 09:49:07 -0300
parents b74734a1a755
children a5ff4de4a1d3
line wrap: on
line source

using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using DataAnnotationsExtensions;

namespace AltNetHispano.Agendas.Web.Models
{
	public class PropuestaNewModel
	{
		public PropuestaNewModel()
		{
			Tipos = EventoModelHelper.GetTiposEventos();
		}

		[Required]
		public int Tipo { get; set; }

		[Required]
		public string Titulo { get; set; }

		public string Ponente { get; set; }

		[Url]
		public string UrlInvitacion { get; set; }

		public IEnumerable<TipoEventoModel> Tipos { get; private set; }
	}
}