import uuid
import datetime as dt
from marshmallow import Schema, fields, post_load

from vrpmdvmonreq import VRPMDV_MonReq


# class VRPMDV_MonReq:
#     def __init__(self, name , samplerate, sampleperiod, downtime, owner) :
#         self.name = name
#         self.samplerate = samplerate
#         self.sampleperiod = sampleperiod
#         self.downtime = downtime
#         self.owner = owner

class VRPMDV_Monitoring(VRPMDV_MonReq):
    def __init__(self, id, name , samplerate, sampleperiod, downtime, owner="None", created_at=dt.datetime.now()) :
        self.id =  id
        self.created_at = created_at
        super().__init__(name, samplerate, sampleperiod, downtime, owner)
