comparison Agendas/trunk/src/Agendas.Domain/Track.cs @ 66:a61f3204c9f7

Merge
author jorge.rowies
date Tue, 17 May 2011 18:25:17 -0300
parents 963b71ea6028
children c7264bfc4b71
comparison
equal deleted inserted replaced
65:ebce59b45b50 66:a61f3204c9f7
1 namespace AltNetHispano.Agendas.Domain 1 namespace AltNetHispano.Agendas.Domain
2 { 2 {
3 public class Track 3 public class Track
4 { 4 {
5 protected Track()
6 {
7 //ctor para NHibernate
8 }
9
5 public Track(Accion accion) 10 public Track(Accion accion)
6 { 11 {
7 Usuario = IdentityContext.GetUserName(); 12 Usuario = IdentityContext.GetUserName();
8 Accion = accion; 13 Accion = accion;
9 } 14 }
10 15
11 public Accion Accion { get; private set; } 16 public virtual Accion Accion { get; private set; }
12 protected string Usuario { get; private set; } 17 protected virtual string Usuario { get; private set; }
13 } 18 }
14 19
15 public enum Accion 20 public enum Accion
16 { 21 {
17 Proponer = 1, 22 Proponer = 1,