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

import lombok.Getter;
import lombok.Setter;

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

/**
 * @author reghao
 * @date 2023-12-07 16:14:10
 */
@Setter
@Getter
public class VideoSearch implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer type;
    private String content;
    private Integer pageNo;

    private Integer pageNumber;
    private Integer pageSize;
    private Integer categoryPid;
    private Integer categoryId;
    private Integer durationGt;
    private Boolean horizontal;
    private String orderBy;
    private String orderDirection;

    public VideoSearch() {
        this.pageNumber = 1;
        this.pageSize = 10;
        this.orderBy = "id";
        this.orderDirection = "ASC";
    }
}
