package com.xunhong.erp.turbo.api.infra.dto.qry;

import com.alibaba.cola.dto.PageQuery;
import com.xunhong.erp.turbo.api.infra.dto.enums.CategoryTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@Schema(title = "素材内容分页请求")
@EqualsAndHashCode(callSuper = true)
public class MaterialPageQry extends PageQuery {

	@Schema(title = "素材内容标题")
	public String title;

	@Schema(title = "素材类型")
	public CategoryTypeEnum type;

	@Schema(title = "素材内容ID", type = "string")
	public Long materialId;

	@Schema(title = "分类ID", type = "string")
	private Long categoryId;
}
