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

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

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

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

	@Schema(title = "车辆编号", type = "string")
	private String vehicleNo;

	@Schema(title = "采购订单编号", type = "string")
	private String orderSn;

	/**
	 * 订单状态: 0-草稿, 1-待审核, 2-待老板审核, 3-已发货(待付款), 4-已付款, 5-已完结
	 */
	@Schema(title = "订单状态: 0-草稿, 1-待审核, 2-待老板审核, 3-已发货(待付款), 4-已付款, 5-已完结")
	private PurchaseOrderStateEnum state;

	@Schema(title = "供应商名称", type = "string")
	private String supplierName;

	@Schema(title = "经销商ID", type = "string")
	private Long dealerId;
}

