Which design pattern can be used in case of two class having common fields so that we don't need to create new Class?

后端 未结 0 1575
夕颜
夕颜 2021-01-14 14:42

In a spring boot application, I return a UserResponseDTO in the first api as below

public class UserReponseDTO{
  private Long Id,
  private          


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