model primitives on sqlamodel