comparison Agendas/trunk/src/Agendas.Web/Models/EventoModel.cs @ 152:c57ca21064f2

Auto UIHint por el nombre de la propiedad, hay un TODO para mejorarlo
author Nelo@Guinea.neluz.int
date Wed, 03 Aug 2011 00:01:49 -0300
parents e6e6bfb1da9e
children 557c386fcecc
comparison
equal deleted inserted replaced
151:c03c49202280 152:c57ca21064f2
12 } 12 }
13 13
14 public class EventoNewModel 14 public class EventoNewModel
15 { 15 {
16 [Required] 16 [Required]
17 [UIHint("TipoEvento")]
18 public int TipoEvento { get; set; } 17 public int TipoEvento { get; set; }
19 18
20 [Required] 19 [Required]
21 public string Titulo { get; set; } 20 public string Titulo { get; set; }
22 21
23 [Required] 22 [Required]
24 [UIHint("Ponente")]
25 public Guid Ponente { get; set; } 23 public Guid Ponente { get; set; }
26 24
27 [Required] 25 [Required]
28 public DateTime Fecha { get; set; } 26 public DateTime Fecha { get; set; }
29 27
38 36
39 [Required] 37 [Required]
40 public string Titulo { get; set; } 38 public string Titulo { get; set; }
41 39
42 [Required] 40 [Required]
43 [UIHint("Ponente")]
44 public Guid Ponente { get; set; } 41 public Guid Ponente { get; set; }
45 42
46 [Required] 43 [Required]
47 public DateTime? Fecha { get; set; } 44 public DateTime? Fecha { get; set; }
48 45
57 54
58 [Required] 55 [Required]
59 public string Titulo { get; set; } 56 public string Titulo { get; set; }
60 57
61 [Required] 58 [Required]
62 [UIHint("Ponente")]
63 public Guid Ponente { get; set; } 59 public Guid Ponente { get; set; }
64 60
65 [Required] 61 [Required]
66 public DateTime? Fecha { get; set; } 62 public DateTime? Fecha { get; set; }
67 63