Untitled

mail@pastecode.io avatar
unknown
python
2 years ago
308 B
2
Indexable
Never
class Ocena():

    def __init__(self, ocena, typ_oceny, termin, data_wpisu):
        self.UUID = uuid.uuid4()
        self.ocena = ocena
        self.typ_oceny = typ_oceny
        self.termin = termin
        self.data_wpisu = data_wpisu
        self.dopuszczalna_ocena = [2.0, 2.5, 3.0, 3.5, 4.0, 4.5, 5.0]