Mercurial > altnet-hispano
comparison Agendas/trunk/src/Agendas.Web/Models/EventoModel.cs @ 162:557c386fcecc
Ticket 153: UI de Publicar.
author | juanjose.montesdeocaarbos |
---|---|
date | Fri, 05 Aug 2011 22:02:23 -0300 |
parents | c57ca21064f2 |
children | b7621309524f |
comparison
equal
deleted
inserted
replaced
161:c1062de96845 | 162:557c386fcecc |
---|---|
63 | 63 |
64 [Url] | 64 [Url] |
65 public string UrlInvitacion { get; set; } | 65 public string UrlInvitacion { get; set; } |
66 } | 66 } |
67 | 67 |
68 public class EventoPublicarModel | |
69 { | |
70 [HiddenInput(DisplayValue = false)] | |
71 public string Id { get; set; } | |
72 | |
73 [Required] | |
74 [HiddenInput] | |
75 public string Titulo { get; set; } | |
76 | |
77 [Required] | |
78 [UIHint("NroOrden")] | |
79 [Range(1, short.MaxValue)] | |
80 public short NroOrden { get; set; } | |
81 | |
82 [Required] | |
83 [Url] | |
84 public string UrlWiki { get; set; } | |
85 | |
86 [Required] | |
87 [UIHint("DuracionReal")] | |
88 public TimeSpan DuracionReal { get; set; } | |
89 } | |
90 | |
68 public class EventoDto | 91 public class EventoDto |
69 { | 92 { |
70 public string Id { get; set; } | 93 public string Id { get; set; } |
71 public string Titulo { get; set; } | 94 public string Titulo { get; set; } |
72 public string Estado { get; set; } | 95 public string Estado { get; set; } |