Mercurial > altnet-hispano
annotate Agendas/trunk/src/Agendas.Domain/Track.cs @ 68:99a7df8e35bd
Merge
author | nelopauselli |
---|---|
date | Thu, 19 May 2011 01:29:52 -0300 |
parents | 963b71ea6028 |
children | c7264bfc4b71 |
rev | line source |
---|---|
57 | 1 namespace AltNetHispano.Agendas.Domain |
2 { | |
3 public class Track | |
4 { | |
63 | 5 protected Track() |
6 { | |
7 //ctor para NHibernate | |
8 } | |
9 | |
58
37d99d239cae
Cambiando constantes por enum en el track de cambios en Evento
nelopauselli
parents:
57
diff
changeset
|
10 public Track(Accion accion) |
57 | 11 { |
12 Usuario = IdentityContext.GetUserName(); | |
13 Accion = accion; | |
14 } | |
15 | |
63 | 16 public virtual Accion Accion { get; private set; } |
17 protected virtual string Usuario { get; private set; } | |
57 | 18 } |
19 | |
58
37d99d239cae
Cambiando constantes por enum en el track de cambios en Evento
nelopauselli
parents:
57
diff
changeset
|
20 public enum Accion |
57 | 21 { |
58
37d99d239cae
Cambiando constantes por enum en el track de cambios en Evento
nelopauselli
parents:
57
diff
changeset
|
22 Proponer = 1, |
37d99d239cae
Cambiando constantes por enum en el track de cambios en Evento
nelopauselli
parents:
57
diff
changeset
|
23 Publicar = 2, |
37d99d239cae
Cambiando constantes por enum en el track de cambios en Evento
nelopauselli
parents:
57
diff
changeset
|
24 Modificar = 3, |
37d99d239cae
Cambiando constantes por enum en el track de cambios en Evento
nelopauselli
parents:
57
diff
changeset
|
25 CambiarTitulo = 4, |
37d99d239cae
Cambiando constantes por enum en el track de cambios en Evento
nelopauselli
parents:
57
diff
changeset
|
26 Realizar = 5 |
57 | 27 } |
28 | |
29 } |