package com.github.catvod.bean; import com.google.gson.annotations.SerializedName; public class Vod { @SerializedName("type_name") private String typeName; @SerializedName("vod_id") private String vodId; @SerializedName("vod_name") private String vodName; @SerializedName("vod_pic") private String vodPic; @SerializedName("vod_remarks") private String vodRemarks; @SerializedName("vod_year") private String vodYear; @SerializedName("vod_area") private String vodArea; @SerializedName("vod_actor") private String vodActor; @SerializedName("vod_director") private String vodDirector; @SerializedName("vod_content") private String vodContent; @SerializedName("vod_play_from") private String vodPlayFrom; @SerializedName("vod_play_url") private String vodPlayUrl; @SerializedName("vod_tag") private String vodTag; public Vod() { } public Vod(String vodId, String vodName, String vodPic) { setVodId(vodId); setVodName(vodName); setVodPic(vodPic); } public Vod(String vodId, String vodName, String vodPic, String vodRemarks) { setVodId(vodId); setVodName(vodName); setVodPic(vodPic); setVodRemarks(vodRemarks); } public Vod(String vodId, String vodName, String vodPic, String vodRemarks, boolean folder) { setVodId(vodId); setVodName(vodName); setVodPic(vodPic); setVodRemarks(vodRemarks); setVodTag(folder ? "folder" : "file"); } public void setTypeName(String typeName) { this.typeName = typeName; } public void setVodId(String vodId) { this.vodId = vodId; } public void setVodName(String vodName) { this.vodName = vodName; } public void setVodPic(String vodPic) { this.vodPic = vodPic; } public void setVodRemarks(String vodRemarks) { this.vodRemarks = vodRemarks; } public void setVodYear(String vodYear) { this.vodYear = vodYear; } public void setVodArea(String vodArea) { this.vodArea = vodArea; } public void setVodActor(String vodActor) { this.vodActor = vodActor; } public void setVodDirector(String vodDirector) { this.vodDirector = vodDirector; } public void setVodContent(String vodContent) { this.vodContent = vodContent; } public String getVodContent() { return vodContent; } public void setVodPlayFrom(String vodPlayFrom) { this.vodPlayFrom = vodPlayFrom; } public void setVodPlayUrl(String vodPlayUrl) { this.vodPlayUrl = vodPlayUrl; } public void setVodTag(String vodTag) { this.vodTag = vodTag; } }