Test Code
-
Spring boot Entity test codeComputer Science/Spring boot 2022. 10. 7. 01:19
@NoArgsConstructor @Entity @Getter @Table(name = "lof_user") @TypeDef(name = "json", typeClass = JsonStringType.class) public class UserEntity { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Column(name = "id") private Long userId; @NotNull @Column(name = "token") private String fcmToken; @NotNull @Column(name = "email") private String email; @NotNull @Column(name = "nickname") privat..