| | |
| | | import org.springframework.data.mongodb.core.mapping.Document; |
| | | import org.springframework.data.solr.core.mapping.Indexed; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 全网搜实体 |
| | | */ |
| | | @Document(collection = "internetSearchVideo") |
| | | public class InternetSearchVideo { |
| | | public class InternetSearchVideo implements Serializable { |
| | | |
| | | @NotBlank(message = "id不能为空") |
| | | @Id |
| | |
| | | |
| | | private String desc; |
| | | |
| | | private String types; |
| | | |
| | | private String score; |
| | | |
| | | public String getScore() { |
| | | return score; |
| | | } |
| | | |
| | | public void setScore(String score) { |
| | | this.score = score; |
| | | } |
| | | |
| | | public String getTypes() { |
| | | return types; |
| | | } |
| | | |
| | | public void setTypes(String types) { |
| | | this.types = types; |
| | | } |
| | | |
| | | public Date getSolrTime() { |
| | | return solrTime; |
| | | } |