improved timestampable trait to auto populate createdat field on construction