content: /*
   * Copyright (c) 2017. André Mion
   *
   * Licensed under the Apache License, Version 2.0 (the "License");
   * you may not use this file except in compliance with the License.
   * You may obtain a copy of the License at
   *
   *     http://www.apache.org/licenses/LICENSE-2.0
   *
   * Unless required by applicable law or agreed to in writing, software
   * distributed under the License is distributed on an "AS IS" BASIS,
   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   * See the License for the specific language governing permissions and
   * limitations under the License.
   */
  
  package com.andremion.heroes.api.data;
  
  import android.support.annotation.IntDef;
  
  import java.io.Serializable;
  import java.lang.annotation.Retention;
  import java.lang.annotation.RetentionPolicy;
  
  public class SectionVO implements Serializable {
  
      public static final int TYPE_COMIC = 0;
      public static final int TYPE_SERIES = 1;
      public static final int TYPE_STORY = 2;
      public static final int TYPE_EVENT = 3;
  
      @IntDef({TYPE_COMIC, TYPE_SERIES, TYPE_STORY, TYPE_EVENT})
      @Retention(RetentionPolicy.SOURCE)
      public @interface Type {
      }
  
      private long mId;
      private String mTitle;
      private String mThumbnail;
      private String mImage;
  
      public SectionVO() {
      }
  
      public long getId() {
          return mId;
      }
  
      public void setId(long id) {
          mId = id;
      }
  
      public String getTitle() {
          return mTitle;
      }
  
      public void setTitle(String title) {
          mTitle = title;
      }
  
      public String getThumbnail() {
          return mThumbnail;
      }
  
      public void setThumbnail(String thumbnail) {
          mThumbnail = thumbnail;
      }
  
      public String getImage() {
          return mImage;
      }
  
      public void setImage(String image) {
          mImage = image;
      }
  
      @Override
      public String toString() {
          return "Section{" + mId + ", '" + mTitle + "'}";
      }
  }
  