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

import com.xunhong.erp.turbo.api.biz.dto.enums.PurchaseOrderStateEnum;
import com.xunhong.erp.turbo.api.biz.dto.enums.PurchaseOrderTypeEnum;
import com.xunhong.erp.turbo.base.dto.PageQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author shenyifei
 */
@Data
@Schema(title = "订单返点分页查询")
@EqualsAndHashCode(callSuper = true)
public class OrderRebatePageQry extends PageQuery {

	@Schema(title = "订单ID", type = "string")
	private Long orderId;

	@Schema(title = "订单状态")
	private List<PurchaseOrderStateEnum> poStates;

	@Schema(title = "订单类型")
	private PurchaseOrderTypeEnum poType;

	@Schema(title = "是否支付", type = "boolean")
	private Boolean isPaid;
}

