package com.yeshi.buwan.acFun;
|
|
import org.springframework.data.annotation.Id;
|
import org.springframework.data.mongodb.core.index.Indexed;
|
import org.springframework.data.mongodb.core.mapping.Document;
|
import org.springframework.data.mongodb.core.mapping.Field;
|
|
@Document(collection = "acfunVideoMap")
|
public class AcfunVideoMap {
|
@Id
|
private String id;
|
@Indexed
|
@Field
|
private Long videoId;
|
|
public String getId() {
|
return id;
|
}
|
|
public void setId(String id) {
|
this.id = id;
|
}
|
|
public Long getVideoId() {
|
return videoId;
|
}
|
|
public void setVideoId(Long videoId) {
|
this.videoId = videoId;
|
}
|
|
}
|