comparison Agendas/trunk/src/Agendas.Web/Models/PersonaModel.cs @ 157:f17252543cbf

Agregando la url del blog a los datos de la persona
author Nelo@Guinea.neluz.int
date Thu, 04 Aug 2011 18:45:18 -0300
parents a2b14da4902f
children 222362c29416
comparison
equal deleted inserted replaced
156:6e554de521aa 157:f17252543cbf
17 [Required] 17 [Required]
18 public string Twitter { get; set; } 18 public string Twitter { get; set; }
19 19
20 [Required] 20 [Required]
21 public string EMail { get; set; } 21 public string EMail { get; set; }
22
23 [DataType(DataType.Url)]
24 public string Blog { get; set; }
22 } 25 }
23 26
24 public class PersonaEditModel 27 public class PersonaEditModel
25 { 28 {
26 [Required] 29 [Required]
33 [Required] 36 [Required]
34 public string Twitter { get; set; } 37 public string Twitter { get; set; }
35 38
36 [Required] 39 [Required]
37 public string EMail { get; set; } 40 public string EMail { get; set; }
41
42 [DataType(DataType.Url)]
43 public string Blog { get; set; }
38 } 44 }
39 45
40 public class PersonaDto 46 public class PersonaDto
41 { 47 {
42 public Guid Id { get; set; } 48 public Guid Id { get; set; }