Beispiel #1
0
        public tdocentes(int id, string nombres, string apellidos, string nombrec, string cedula, bool escasado, bool esmasculino, DateTime fechanacimiento, string profesion, RHH.testadolaboral estadolaboral, Empresa.Comun.tcontacto contacto, string decreto, DateTime fechadecreto, byte[] foto, string estadopr, string nss, double sueldobaseactual, bool esfallecido, DateTime fechafallecido, DateTime fechaingresoeducacion, DateTime decretofechapago, Pagos historicopagos)
        {
            //this.Tipo = new Comun.TEstandar(1); // tipo inicial 1;
            this.Id = id;
            this.Nombres = nombres;
            this.Apellidos = apellidos;
            this.Cedula = cedula;
            this.EstadoLaboral = estadolaboral;
            this.HistorialPagos = historicopagos;
            this.Familiares = new Familiares();
            this.EsCasado = escasado;
            this.FechaNacimiento = fechanacimiento;
            this.Profesion = profesion;
            this.Contacto = contacto;
            this.EsMasculino = esmasculino;
            this.NombreCompleto = nombrec;
            this.Foto = foto;
            this.EstadoPR = estadopr;
            this.Nss = nss;
            this.SueldoBrutoActual = sueldobaseactual;
            this.EsFallecido = esfallecido;
            this.FechaFallecido = fechafallecido;
            this.FechaIngresoEducacion = fechaingresoeducacion;

            this.Direccion = new Comun.TDireccion();
        }
Beispiel #2
0
 public TCitasVisitas(RHH.tpersonal visitante)
 {
     this.Id = 0;
     this.Visitante = visitante;
     this.Personal = new RHH.tpersonal();
     this.FechaEntrada = DateTime.MinValue;
     this.FechaSalida = DateTime.MaxValue;
     this.Estado = new Comun.TEstandar();
     this.Valoracion = new Empresa.Citas.Valoraciones().Lista;
     this.Referencia = string.Empty;
     this.Departamento = new RHH.TDepartamento();
 }
Beispiel #3
0
 public TSolicitante(RHH.tpersonal item) {
     this.Id = item.Id;
     this.Nombres = item.Nombres;
     this.Nss = item.Nss;
     this.EsCasado = item.EsCasado;
     this.EsDiscapacitado = item.EsDiscapacitado;
     this.EsMasculino = item.EsMasculino;
     this.Cedula = item.Cedula;
     this.Apellidos = item.Apellidos;
     this.DireccionAsignada = item.DireccionAsignada;
     this.Otros = string.Empty;
     this.Tipo = new Comun.TEstandar();
 }
Beispiel #4
0
 public tdocente(int id, string nombres, string apellidos, string nombrec, string cedula, bool escasado, bool esmasculino, DateTime fechanacimiento, string profesion, RHH.testadolaboral estadolaboral, Empresa.Comun.tcontacto contacto, string decreto, DateTime fechadecreto)
 {
     this.Tipo = new Comun.TEstandar(1); // tipo inicial 1;
     this.Id = id;
     this.Nombres = nombres;
     this.Apellidos = apellidos;
     this.Cedula = cedula;
     this.EsCasado = escasado;
     this.FechaNacimiento = fechanacimiento;
     this.Profesion = profesion;
     this.EstadoLaboral = estadolaboral;
     this.Contacto = contacto;
     this.EsMasculino = esmasculino;
     this.NombreCompleto = nombrec;
     this.Nss = string.Empty;
     this.SueldoBrutoActual = 0;
     this.Familiares = new Familiares();
     this.FechaIngresoEducacion = DateTime.MinValue;
     //this.Direccion = new Comun.TDireccion();
     this.SolicitudPJ = new SolicitudPJ();
     this.FechaPrimerPago = DateTime.MinValue;
     this.Direccion = new Comun.TDireccionAsignada();
     this.EsDocente = true;
     this.EsNotificadoFallecido = false;
 }
Beispiel #5
0
        public tdocente(int id, string nombres, string apellidos, string nombrec, string cedula, bool escasado, bool esmasculino, DateTime fechanacimiento, string profesion, RHH.testadolaboral estadolaboral, Empresa.Comun.tcontacto contacto, string decreto, DateTime fechadecreto, byte[] foto, string estadopr, string nss, double sueldobaseactual, bool esfallecido, DateTime fechafallecido, DateTime fechaingresoeducacion, DateTime decretofechapago, Pagos historicopagos)
        {
            this.Tipo = new Comun.TEstandar(1); // tipo inicial 1;
            this.Id = id;
            this.Nombres = nombres;
            this.Apellidos = apellidos;
            this.Cedula = cedula;
            this.EstadoLaboral = estadolaboral;
            this.HistorialPagos = historicopagos;

            if (!string.IsNullOrEmpty(this.Cedula)) { 
                this.Familiares = new Familiares(cedula);
                this.CalculoRetroActivo();
            } else { 
                this.Familiares = new Familiares(); 
            }

            this.PagosDetalle = new PagoDetalle(this.Cedula);

            this.EsCasado = escasado;
            this.FechaNacimiento = fechanacimiento;
            this.Profesion = profesion;
            this.Contacto = contacto;
            this.FechaPrimerPago = DateTime.MinValue;
            this.EsMasculino = esmasculino;
            this.NombreCompleto = nombrec;
            this.Foto = foto;
            this.EstadoPR = estadopr;
            this.Nss = nss;
            this.SueldoBrutoActual = sueldobaseactual;
            this.EsFallecido = esfallecido;
            this.FechaFallecido = fechafallecido;
            this.FechaIngresoEducacion = fechaingresoeducacion;
            this.SolicitudPJ = new SolicitudPJ(new tdocente(cedula));
            //this.Direccion = new Comun.TDireccion();
            this.Contacto = new Comun.tcontacto();
            this.EsDocente = true;
            this.EsNotificadoFallecido = false;
        }
Beispiel #6
0
 public tpersonaRelacionada(RHH.tpersonal persona, Comun.TEstandar parentesco, bool esnuevo)
 {
     this.Parentesco = parentesco;
     this.EsNuevo = esnuevo;
     this.Persona = persona;
 }
Beispiel #7
0
 public tpersonaRelacionada(RHH.tpersonal persona){
     this.Parentesco = new Comun.TEstandar();
     this.EsNuevo = true;
     this.Persona = persona;
 }