Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
        public double vrednostJedneStavke(Namestaj Komad, int Kolicina)
        {
            double vrednost = Komad.Cena * Kolicina;

            return(vrednost);
        }
Exemplo n.º 3
0
 public StavkaProdajeNamestaja(int Id, Namestaj Komad, int Kolicina)
 {
     this.Id_Racun    = Id_Racun;
     this.Id_Namestaj = Id_Namestaj;
     this.Kolicina    = Kolicina;
 }