@NoArgsConstructor파라미터가 없는 기본 생성자를 생성@AllArgsConstructor모든 필드 값을 파라미터로 받는 생성자를 만듦@NoArgsConstructor@AllArgsConstructorpublic class User { private Long id; @NonNull private String name; @NonNull private String pw; private int age;User user1 = new User(); // @NoArgsConstructorUser user3 = new User(1L, "user3", "1234", null); // @AllArgsConstructor