package com.yeshi.buwan.domain;
|
|
import com.google.gson.annotations.Expose;
|
|
import java.io.Serializable;
|
|
import javax.persistence.Entity;
|
import javax.persistence.ManyToOne;
|
|
/**
|
* 视频来源
|
*
|
* @author Administrator
|
*
|
*/
|
@Entity
|
public class VideoResource implements Serializable {
|
@Expose
|
private String id;
|
|
public VideoResource() {
|
}
|
|
public VideoResource(String id) {
|
this.id = id;
|
}
|
|
public String getId() {
|
return id;
|
}
|
|
public void setId(String id) {
|
this.id = id;
|
}
|
|
@Expose
|
private String name;
|
@Expose
|
private String createtime;
|
private AdminInfo admin;
|
private String beizhu;
|
@Expose
|
private String picture;
|
@Expose
|
private boolean checked;
|
|
private int orderby;
|
|
public int getOrderby() {
|
return orderby;
|
}
|
|
public void setOrderby(int orderby) {
|
this.orderby = orderby;
|
}
|
|
public boolean isChecked() {
|
return checked;
|
}
|
|
public void setChecked(boolean checked) {
|
this.checked = checked;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getCreatetime() {
|
return createtime;
|
}
|
|
public void setCreatetime(String createtime) {
|
this.createtime = createtime;
|
}
|
|
@ManyToOne
|
public AdminInfo getAdmin() {
|
return admin;
|
}
|
|
public void setAdmin(AdminInfo admin) {
|
this.admin = admin;
|
}
|
|
public String getBeizhu() {
|
return beizhu;
|
}
|
|
public void setBeizhu(String beizhu) {
|
this.beizhu = beizhu;
|
}
|
|
public String getPicture() {
|
return picture;
|
}
|
|
public void setPicture(String picture) {
|
this.picture = picture;
|
}
|
}
|