Generate unique id - doctrine - symfony2

前端 未结 0 1919
抹茶落季
抹茶落季 2020-12-23 03:38

I want to generate a unique ticket ID for my tickets. But how to let doctrine generate a unique id?

/**
 * @ORM\\Column(name=\"id\", type=\"integer\")
 * @OR         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题