package com.xyh.demo;
public class Video {
private Integer id;
private String title;
private String url;
private Integer time;
public Video() {
}
public Video(Integer id, String title, String url, Integer time) {
this.id = id;
this.title = title;
this.url = url;
this.time = time;
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public Integer getTime() {
return time;
}
public void setTime(Integer time) {
this.time = time;
}
@Override
public String toString() {
return this.id + "," + this.title + "," +this.url + "," + this.time;
}
}