Modified to extend to BaseModel so it will inherit the mutation from the functions getCreatedAtAttribute and getUpdatedAtAttribute that are within the BaseModel file.