Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Web/Models/PerfilModel.cs @ 168:97e51ddeeb58
Cambios menores en UI
author | nelopauselli |
---|---|
date | Sat, 06 Aug 2011 03:34:45 -0300 |
parents | 0bca45e1e664 |
children | 1deccd6c3cb2 |
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Web/Models/PerfilModel.cs Sat Aug 06 02:51:07 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Web/Models/PerfilModel.cs Sat Aug 06 03:34:45 2011 -0300 @@ -1,4 +1,6 @@ -using System.Collections.Generic; +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; namespace AltNetHispano.Agendas.Web.Models { @@ -9,8 +11,16 @@ Cuentas = new CuentaDto[] {}; } + public Guid Id { get; set; } + public string DisplayName { get; set; } + [DataType(DataType.EmailAddress)] + public string Email { get; set; } + + [DataType(DataType.Url)] + public string Blog { get; set; } + public IEnumerable<CuentaDto> Cuentas { get; set; } }