package cn.reghao.tnb.content.api.dto.spider;

import cn.reghao.tnb.auth.api.dto.CrawledUser;
import lombok.*;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 爬取的视频
 *
 * @author reghao
 * @date 2021-12-31 11:22:36
 */
@AllArgsConstructor
@NoArgsConstructor
@Setter
@Getter
@Deprecated
public class CrawledVideo implements Serializable {
    private static final long serialVersionUID = 1L;

    @NotBlank
    private String videoId;
    private String videoFileId;
    @NotBlank
    private String coverUrl;
    @NotNull
    private Boolean horizontal;
    @NotNull
    private Integer duration;
    @NotBlank
    private String title;
    private String description;
    @Deprecated
    private Integer rid;
    @NotNull
    private Integer categoryPid;
    @NotNull
    private Integer categoryId;
    //@NotBlank
    private String tags;
    @NotNull
    private Long pubDate;
    @NotNull
    private Integer view;
    @NotNull
    private Integer danmaku;
    @NotNull
    private Integer comment;
    @NotNull
    private Integer favorite;
    @NotNull
    private Integer share;
    @NotNull
    private Integer thumbUp;
    @NotNull
    private Integer thumbDown;
    @NotNull
    private Integer coin;
    @NotNull
    private Integer scope;
    @NotNull
    private CrawledUser crawledUser;
}
