view Agendas/trunk/src/Agendas.Domain/Ponente.cs @ 54:3059a5f8930f

Code cleanup
author nelopauselli
date Sat, 14 May 2011 13:01:24 -0300
parents 3c5657d99727
children 65bbcdd5d357
line wrap: on
line source

using System;

namespace AltNetHispano.Agendas.Domain
{
	public class Ponente
	{
		public Ponente(string nombre, string mail, string twitter, string blog)
			: this(nombre)
		{
			Mail = mail;
			Twitter = twitter;
			Blog = blog;
		}

		public Ponente(string nombre)
		{
			Id = Guid.NewGuid();
			Nombre = nombre;
		}

		public Guid Id { get; private set; }

		public string Nombre { get; private set; }

		public string Mail { get; private set; }

		public string Twitter { get; private set; }

		public string Blog { get; private set; }
	}
}