JustPaste.it

@Entity(tableName = DatabaseUtils.TABLE_FOLLOWERS)
public class FollowerEntity {

@PrimaryKey
private Long fie_id;

@ColumnInfo(name = DatabaseUtils.COLUMN_NAME)
private String name;

@ColumnInfo(name = DatabaseUtils.COLUMN_DESCRIPTION)
private String description;

@ColumnInfo(name = DatabaseUtils.COLUMN_PROFILE_BANNER)
private String profileBanner;

@ColumnInfo(name = DatabaseUtils.COLUMN_PROFILE_IMAGE)
private String profileImage;

public void setId(Long id) {
this.fie_id = id;
}

public void setName(String name) {
this.name = name;
}

public void setDescription(String description) {
this.description = description;
}

public void setProfileBanner(String profileBanner) {
this.profileBanner = profileBanner;
}

public void setProfileImage(String profileImage) {
this.profileImage = profileImage;
}

public Long getId() {
return fie_id;
}

public String getName() {
return name;
}

public String getDescription() {
return description;
}

public String getProfileBanner() {
return profileBanner;
}

public String getProfileImage() {
return profileImage;
}

@Override
public String toString() {
return String.format(Locale.getDefault(),
"id: %d, name: %s, description: %s, profileBanner: %s, profileImage: %s.",
fie_id, name, description, profileBanner, profileImage);
}
}