Mercurial > altnet-hispano
comparison 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 |
comparison
equal
deleted
inserted
replaced
117:7ef7e4bb71f6 | 118:b74734a1a755 |
---|---|
58 | 58 |
59 [Url] | 59 [Url] |
60 public string UrlInvitacion { get; set; } | 60 public string UrlInvitacion { get; set; } |
61 } | 61 } |
62 | 62 |
63 public class EventoAgendarModel | |
64 { | |
65 [HiddenInput(DisplayValue = false)] | |
66 public string Id { get; set; } | |
67 | |
68 [Required] | |
69 public string Titulo { get; set; } | |
70 | |
71 [Required] | |
72 public string Ponente { get; set; } | |
73 | |
74 [Required] | |
75 public DateTime? Fecha { get; set; } | |
76 | |
77 [Url] | |
78 public string UrlInvitacion { get; set; } | |
79 } | |
63 | 80 |
64 public class EventoDto | 81 public class EventoDto |
65 { | 82 { |
66 public string Id { get; set; } | 83 public string Id { get; set; } |
67 public string Titulo { get; set; } | 84 public string Titulo { get; set; } |
68 public DateTime Fecha { get; set; } | 85 public string Estado { get; set; } |
86 public string Fecha { get; set; } | |
69 | 87 |
88 public bool PuedeAgendar { get; set; } | |
70 public bool PuedeModificar { get; set; } | 89 public bool PuedeModificar { get; set; } |
71 public bool PuedeConfirmar { get; set; } | 90 public bool PuedeConfirmar { get; set; } |
72 public bool PuedePublicar { get; set; } | 91 public bool PuedePublicar { get; set; } |
73 } | 92 } |
74 } | 93 } |