Beispiel #1
0
 public IspitnaPrijava(Student st, Predmet pr, IspitniRok ir, int teorija, int zadaci)
 {
     this.Student    = st;
     this.Predmet    = pr;
     this.IspitniRok = ir;
     this.Teorija    = teorija;
     this.Zadaci     = zadaci;
 }
Beispiel #2
0
        public override bool Equals(object obj)
        {
            if (obj == null || !(obj is IspitniRok))
            {
                return(false);
            }

            IspitniRok ir = (IspitniRok)obj;

            return(this.Id.Equals(ir.Id));
        }
Beispiel #3
0
 public override int GetHashCode()
 {
     return(Id.GetHashCode() ^ Student.GetHashCode() ^ Predmet.GetHashCode() ^ IspitniRok.GetHashCode());
 }