public Akcija(int Id, DateTime DatumPocetka, DateTime DatumZavrsetka, Namestaj KomadNamestaja, double Popust, bool Obrisan) { this.Id = Id; this.DatumPocetka = DatumPocetka; this.DatumZavrsetka = DatumZavrsetka; this.KomadNamestaja = KomadNamestaja; this.Popust = Popust; this.Obrisan = Obrisan; }
public double vrednostJedneStavke(Namestaj Komad, int Kolicina) { double vrednost = Komad.Cena * Kolicina; return(vrednost); }
public StavkaProdajeNamestaja(int Id, Namestaj Komad, int Kolicina) { this.Id_Racun = Id_Racun; this.Id_Namestaj = Id_Namestaj; this.Kolicina = Kolicina; }