package tv.pluto.mongo.entities.featuredgroup;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.BsonType;
import org.bson.codecs.pojo.annotations.BsonRepresentation;

@Data
@NoArgsConstructor
public class ContentItems {
  @BsonRepresentation(BsonType.OBJECT_ID)
  private String content = "";

  private String contentType = "";
  private Boolean partnerGrid;
  private String type = "";
  private String strategy = "";
  private String notes = "";

  public String getNotes() {
    return notes == null ? "" : notes;
  }

  public String getContentType() {
    return contentType == null ? "" : contentType;
  }

  public String getContent() {
    return content == null ? "" : content;
  }

  public String getStrategy() {
    return strategy == null ? "" : strategy;
  }

  public String getType() {
    return type == null ? "" : type;
  }

  public Boolean getPartnerGrid() {
    return partnerGrid != null && partnerGrid;
  }
}
