spring-boot-realworld-examp.../src/main/java/io/spring/application/profile/ProfileData.java

19 lines
403 B
Java
Raw Normal View History

2017-08-15 09:47:18 +07:00
package io.spring.application.profile;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ProfileData {
@JsonIgnore
private String id;
private String username;
private String bio;
private String image;
private boolean following;
}