spring-boot-realworld-examp.../src/main/java/io/spring/application/data/ProfileData.java
2017-08-18 17:08:27 +08:00

19 lines
400 B
Java

package io.spring.application.data;
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;
}