serverboerse/classes/hdd.py

8 lines
No EOL
178 B
Python

class HDD:
def __init__(self, size, count):
self.size = size
self.count = count
@property
def total_size(self):
return self.size * self.count