How can I ignore any field of another class within one class?

前端 未结 0 1394
臣服心动
臣服心动 2020-12-15 16:40

I mean, for example I have ProductDTO and OrderDetail classes. I want to ignore price field on json because price is changeable and I want keep price for buy. This is my Pro

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