コード例 #1
0
 public Documento(Documento documento)
 {
     this.codigo                = documento.codigo;
     this.nombre                = documento.nombre;
     this.descripcion           = documento.descripcion;
     this.tipo                  = documento.tipo;
     this.resolucion            = documento.resolucion;
     this.fechaResolucion       = documento.fechaResolucion;
     this.vencimientoResolucion = documento.vencimientoResolucion;
     this.habilitacion          = documento.habilitacion;
     this.fechaHabilitacion     = documento.fechaHabilitacion;
     this.numInicial            = documento.numInicial;
     this.numFinal              = documento.numFinal;
     this.ultimoDocu            = documento.ultimoDocu;
     this.formato1              = documento.formato1;
     this.observaciones         = documento.observaciones;
     this.vigencia              = documento.vigencia;
     this.formato2              = documento.formato2;
     this.esConsultaGerencial   = documento.esConsultaGerencial;
 }
コード例 #2
0
 public Documento()
 {
     this.codigo                = null;
     this.nombre                = null;
     this.descripcion           = null;
     this.tipo                  = null;
     this.resolucion            = null;
     this.fechaResolucion       = new DateTime();
     this.vencimientoResolucion = new DateTime();
     this.habilitacion          = null;
     this.fechaHabilitacion     = new DateTime();
     this.numInicial            = -1;
     this.numFinal              = -1;
     this.ultimoDocu            = -1;
     this.formato1              = null;
     this.observaciones         = null;
     this.vigencia              = null;
     this.formato2              = null;
     this.esConsultaGerencial   = false;
 }
コード例 #3
0
 public Documento(
     string codigo,
     string nombre,
     string descripcion,
     TipoDocumento tipo,
     string resolucion,
     DateTime fechaResolucion,
     DateTime vencimientoResolucion,
     string habilitacion,
     DateTime fechaHabilitacion,
     int numInicial,
     int numFinal,
     int ultimoDocu,
     string formato1,
     string observaciones,
     TipoVigencia vigencia,
     string formato2,
     bool esConsultaGerencial
     )
 {
     this.codigo                = codigo;
     this.nombre                = nombre;
     this.descripcion           = descripcion;
     this.tipo                  = tipo;
     this.resolucion            = resolucion;
     this.fechaResolucion       = fechaResolucion;
     this.vencimientoResolucion = vencimientoResolucion;
     this.habilitacion          = habilitacion;
     this.fechaHabilitacion     = fechaHabilitacion;
     this.numInicial            = numInicial;
     this.numFinal              = numFinal;
     this.ultimoDocu            = ultimoDocu;
     this.formato1              = formato1;
     this.observaciones         = observaciones;
     this.vigencia              = vigencia;
     this.formato2              = formato2;
     this.esConsultaGerencial   = esConsultaGerencial;
 }