Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Web/Models/EventoModel.cs @ 118:b74734a1a755
Manejo de eventos por estado
author | Nelo@Kenia.neluz.int |
---|---|
date | Wed, 22 Jun 2011 09:32:59 -0300 |
parents | 53bcd338542b |
children | 8fa58a79656a |
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Web/Models/EventoModel.cs Sun Jun 19 13:35:34 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Web/Models/EventoModel.cs Wed Jun 22 09:32:59 2011 -0300 @@ -60,13 +60,32 @@ public string UrlInvitacion { get; set; } } + public class EventoAgendarModel + { + [HiddenInput(DisplayValue = false)] + public string Id { get; set; } + + [Required] + public string Titulo { get; set; } + + [Required] + public string Ponente { get; set; } + + [Required] + public DateTime? Fecha { get; set; } + + [Url] + public string UrlInvitacion { get; set; } + } public class EventoDto { public string Id { get; set; } - public string Titulo { get; set; } - public DateTime Fecha { get; set; } + public string Titulo { get; set; } + public string Estado { get; set; } + public string Fecha { get; set; } + public bool PuedeAgendar { get; set; } public bool PuedeModificar { get; set; } public bool PuedeConfirmar { get; set; } public bool PuedePublicar { get; set; }