from flask_app.config.mysqlconnection import connectToMySQL


DB = 'python_proj'
MEM = 'memory_chips'

class Memorys:
    def __init__(self, data):
        self.id = data['id']
        self.brand = data['brand']
        self.size = data['size']
        self.slots_used = data['slots_used']
        self.created_at = data['created_at']
        self.updated_at = data['updated_at']
        self.motherboard_id = data['motherboard_id']
