13 lines
425 B
Python
13 lines
425 B
Python
|
from dataclasses import dataclass
|
||
|
|
||
|
@dataclass
|
||
|
class Request:
|
||
|
def __init__(self, x_pos, y_pos, type, volume, last_collection, is_paid, odour_intensity, weight):
|
||
|
self.x_pos = x_pos
|
||
|
self.y_pos = y_pos
|
||
|
self.type = type
|
||
|
self.volume = volume
|
||
|
self.last_collection = last_collection
|
||
|
self.is_paid = is_paid
|
||
|
self.odour_intensity = odour_intensity
|
||
|
self.weight = weight
|