Cost last insert id to int when setup into entity
Test UnitOfWork entity id must be int type