add sequence to stockmodel and auto increment