Ejemplo n.º 1
0
 public Lavoratore(string nome, string cognome, DateTime dataDiNascita, double retribuzione, DateTime?dataAssunzione, TipoLavoratore tipo, Guid persona_id)
     : base(nome, cognome, dataDiNascita)
 {
     Retribuzione     = retribuzione;
     DataDiAssunzione = dataAssunzione;
     Tipo             = tipo;
     Persona_ID       = persona_id;
 }
Ejemplo n.º 2
0
 public Lavoratore(Guid id, string nome, string cognome, int età, TipoLavoratore tip, int ret)
 {
     ID           = id;
     Nome         = nome;
     Cognome      = cognome;
     Eta          = età;
     Tipo         = tip;
     Retribuzione = ret;
 }