/*
 * (c) 2021 Pluto Inc.
 */
package tv.pluto.mongo.entities.clips;

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

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Episode {
  @BsonRepresentation(BsonType.OBJECT_ID)
  private String id;

  private String season;
  private String genre;
  private String subGenre;
  private String category;
  private String subCategory;
  private String tmsid;
  private DistributeAs distributeAs;

  public String getSeason() {
    return season == null ? "" : season;
  }

  public String getGenre() {
    return genre == null ? "" : genre;
  }

  public String getSubGenre() {
    return subGenre == null ? "" : subGenre;
  }

  public String getCategory() {
    return category == null ? "" : category;
  }

  public String getSubCategory() {
    return subCategory == null ? "" : subCategory;
  }

  public String getTmsid() {
    return tmsid == null ? "" : tmsid;
  }
}
