Is an antipattern or bad practice to use a DTO to Model converter in Model entity itself?

后端 未结 0 1687
一生所求
一生所求 2021-02-07 08:01

For example:

@Entity
@Getter
@Setter
@Builder
@NoArgsConstructor
public class User{

    @Id
    @GeneratedValue(strategy = GenerationType.SEQUENCE)
    private L         


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