dayIdGen Generate the id Sequence increase by mysql every day. The id will reset to zero after a new day.