How to validate some custom constraint in symfony 5

后端 未结 0 1099
借酒劲吻你
借酒劲吻你 2021-01-06 02:58

I have Item entity class, and i must validate it. i have condition that price must be less than 1000. And if price is less than 5, and stock is less 10 it is wrong too. So f

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