/*
 * (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 Series {
  @BsonRepresentation(BsonType.OBJECT_ID)
  private String id;

  private String name;
  private String genre;
  private String tmsid;
  private String type;
  private DistributeAs distributeAs;

  public String getName() {
    return name == null ? "" : name;
  }

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

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

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