Generate unique id - doctrine - symfony2

前端 未结 0 1967
南笙
南笙 2020-12-23 03:45

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         


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