comparison 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
comparison
equal deleted inserted replaced
167:ea85bd893247 168:97e51ddeeb58
1 using System.Collections.Generic; 1 using System;
2 using System.Collections.Generic;
3 using System.ComponentModel.DataAnnotations;
2 4
3 namespace AltNetHispano.Agendas.Web.Models 5 namespace AltNetHispano.Agendas.Web.Models
4 { 6 {
5 public class PerfilIndexModel 7 public class PerfilIndexModel
6 { 8 {
7 public PerfilIndexModel() 9 public PerfilIndexModel()
8 { 10 {
9 Cuentas = new CuentaDto[] {}; 11 Cuentas = new CuentaDto[] {};
10 } 12 }
11 13
14 public Guid Id { get; set; }
15
12 public string DisplayName { get; set; } 16 public string DisplayName { get; set; }
17
18 [DataType(DataType.EmailAddress)]
19 public string Email { get; set; }
20
21 [DataType(DataType.Url)]
22 public string Blog { get; set; }
13 23
14 public IEnumerable<CuentaDto> Cuentas { get; set; } 24 public IEnumerable<CuentaDto> Cuentas { get; set; }
15 } 25 }
16 26
17 public class CuentaDto 27 public class CuentaDto