package com.yeshi.buwan.videos.bilibili.entity;
|
|
import org.springframework.data.annotation.Id;
|
import org.springframework.data.mongodb.core.mapping.Document;
|
|
import java.util.Date;
|
|
@Document(collection = "bilibiliVideo")
|
public class BilibiliVideo {
|
|
|
/**
|
* bvid : BV1fV411J7a2
|
* aid : 417803044
|
* videos : 1
|
* tid : 176
|
* tname : 汽车生活
|
* copyright : 1
|
* pic : http://i0.hdslb.com/bfs/archive/aaf5c488e53338dc3cd43105ad6ffec3a089972e.jpg
|
* title : 8000块买台垃圾车,花一万改成神车?
|
* pubdate : 1619497877
|
* ctime : 1619497877
|
* desc : C2赛化计划正式开始! 新款气氛组贴纸、乔T热售中!复制淘口令:¥NQntXdhX6aG¥或淘宝搜索店铺:极速拍档Speedsters @极速拍档-Jacky @极速拍档-小乔 @极速拍档-NANA @极速拍档-Berlin 所有视频都会首发在上面三个wb或微信公众平台“极速拍档Speedsters”
|
* state : 0
|
* duration : 1408
|
* mission_id : 18413
|
* owner : {"mid":25150941,"name":"极速拍档","face":"http://i0.hdslb.com/bfs/face/e9035c3a7089ce7e11d72cb0cf15fa92064b14ef.jpg"}
|
* dynamic : 花1万块,我的车能快12秒!!!
|
* cid : 329845366
|
*/
|
|
@Id
|
private Long aid;
|
private String bvid;
|
private Integer videos;
|
private Integer tid;
|
private String tname;
|
private Integer copyright;
|
private String pic;
|
private String title;
|
private Long pubdate;
|
private Long ctime;
|
private String desc;
|
private Integer state;
|
private Integer duration;
|
private Integer mission_id;
|
private OwnerBean owner;
|
private String dynamic;
|
private Long cid;
|
private Date createTime;
|
private Date updateTime;
|
|
public String getBvid() {
|
return bvid;
|
}
|
|
public void setBvid(String bvid) {
|
this.bvid = bvid;
|
}
|
|
public Long getAid() {
|
return aid;
|
}
|
|
public void setAid(Long aid) {
|
this.aid = aid;
|
}
|
|
public Integer getVideos() {
|
return videos;
|
}
|
|
public void setVideos(Integer videos) {
|
this.videos = videos;
|
}
|
|
public Integer getTid() {
|
return tid;
|
}
|
|
public void setTid(Integer tid) {
|
this.tid = tid;
|
}
|
|
public String getTname() {
|
return tname;
|
}
|
|
public void setTname(String tname) {
|
this.tname = tname;
|
}
|
|
public Integer getCopyright() {
|
return copyright;
|
}
|
|
public void setCopyright(Integer copyright) {
|
this.copyright = copyright;
|
}
|
|
public String getPic() {
|
return pic;
|
}
|
|
public void setPic(String pic) {
|
this.pic = pic;
|
}
|
|
public String getTitle() {
|
return title;
|
}
|
|
public void setTitle(String title) {
|
this.title = title;
|
}
|
|
public Long getPubdate() {
|
return pubdate;
|
}
|
|
public void setPubdate(Long pubdate) {
|
this.pubdate = pubdate;
|
}
|
|
public Long getCtime() {
|
return ctime;
|
}
|
|
public void setCtime(Long ctime) {
|
this.ctime = ctime;
|
}
|
|
public String getDesc() {
|
return desc;
|
}
|
|
public void setDesc(String desc) {
|
this.desc = desc;
|
}
|
|
public Integer getState() {
|
return state;
|
}
|
|
public void setState(Integer state) {
|
this.state = state;
|
}
|
|
public Integer getDuration() {
|
return duration;
|
}
|
|
public void setDuration(Integer duration) {
|
this.duration = duration;
|
}
|
|
public Integer getMission_id() {
|
return mission_id;
|
}
|
|
public void setMission_id(Integer mission_id) {
|
this.mission_id = mission_id;
|
}
|
|
public OwnerBean getOwner() {
|
return owner;
|
}
|
|
public void setOwner(OwnerBean owner) {
|
this.owner = owner;
|
}
|
|
public String getDynamic() {
|
return dynamic;
|
}
|
|
public void setDynamic(String dynamic) {
|
this.dynamic = dynamic;
|
}
|
|
public Long getCid() {
|
return cid;
|
}
|
|
public void setCid(Long cid) {
|
this.cid = cid;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public Date getUpdateTime() {
|
return updateTime;
|
}
|
|
public void setUpdateTime(Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
public static class OwnerBean {
|
/**
|
* mid : 25150941
|
* name : 极速拍档
|
* face : http://i0.hdslb.com/bfs/face/e9035c3a7089ce7e11d72cb0cf15fa92064b14ef.jpg
|
*/
|
|
private Integer mid;
|
private String name;
|
private String face;
|
|
public Integer getMid() {
|
return mid;
|
}
|
|
public void setMid(Integer mid) {
|
this.mid = mid;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getFace() {
|
return face;
|
}
|
|
public void setFace(String face) {
|
this.face = face;
|
}
|
}
|
}
|