Mercurial > altnet-hispano
comparison Agendas/trunk/src/Agendas.Web/Models/PropuestaModel.cs @ 141:a5ff4de4a1d3
EditorForModel en Nuevo Evento y Proponer
author | Nelo@Guinea.neluz.int |
---|---|
date | Mon, 01 Aug 2011 00:10:20 -0300 |
parents | b74734a1a755 |
children | e6e6bfb1da9e |
comparison
equal
deleted
inserted
replaced
140:3639803112c6 | 141:a5ff4de4a1d3 |
---|---|
5 | 5 |
6 namespace AltNetHispano.Agendas.Web.Models | 6 namespace AltNetHispano.Agendas.Web.Models |
7 { | 7 { |
8 public class PropuestaNewModel | 8 public class PropuestaNewModel |
9 { | 9 { |
10 public PropuestaNewModel() | |
11 { | |
12 Tipos = EventoModelHelper.GetTiposEventos(); | |
13 } | |
14 | |
15 [Required] | 10 [Required] |
16 public int Tipo { get; set; } | 11 [UIHint("TipoEvento")] |
12 public int TipoEvento { get; set; } | |
17 | 13 |
18 [Required] | 14 [Required] |
19 public string Titulo { get; set; } | 15 public string Titulo { get; set; } |
20 | 16 |
21 public string Ponente { get; set; } | 17 public string Ponente { get; set; } |
22 | 18 |
23 [Url] | 19 [Url] |
24 public string UrlInvitacion { get; set; } | 20 public string UrlInvitacion { get; set; } |
25 | |
26 public IEnumerable<TipoEventoModel> Tipos { get; private set; } | |
27 } | 21 } |
28 } | 22 } |