28 lines
886 B
C#
28 lines
886 B
C#
using System;
|
|
|
|
namespace WpfApp1.Obsluga
|
|
{
|
|
class Pracownik
|
|
{
|
|
public Pracownik(string imie, int id, int czas, DateTime start, DateTime koniec)
|
|
{
|
|
this.imie = imie;
|
|
this.id = id;
|
|
this.czas = czas;
|
|
start_pracy = start;
|
|
koniec_pracy = koniec;
|
|
}
|
|
|
|
private string imie;
|
|
private int id;
|
|
private int czas;
|
|
private DateTime start_pracy;
|
|
private DateTime koniec_pracy;
|
|
|
|
public string Imie { get => imie; set => imie = value; }
|
|
public int Id { get => id; set => id = value; }
|
|
public int Czas { get => czas; set => czas = value; }
|
|
public DateTime Datatime { get => start_pracy; set => start_pracy = value; }
|
|
public DateTime Koniec_pracy { get => koniec_pracy; set => koniec_pracy = value; }
|
|
}
|
|
} |