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

import com.xunhong.erp.turbo.api.biz.dto.enums.CostBelongEnum;
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 OrderCostPageQry extends PageQuery {

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

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

	@Schema(title = "供应商id", type = "string")
	private Long supplierId;

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

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

	@Schema(title = "所属方")
	private List<CostBelongEnum> belongs;

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

