Php order number scheme, the possibility of duplication is very low, very low, very low, let’s talk about our own scheme.

  ios, question

Php order number scheme, the possibility of duplication is very low, very low, very low, let’s talk about our own scheme.

My algorithm is:

Buyers UID plus merchants UID plus year, month and day plus three random numbers

What do you think?