package com.xinelu.manage.dto.goodsorder;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @description: 工单查询传输对象
 * @author: haown
 * @create: 2023-10-20 10:42
 **/
@ApiModel("工单查询传输对象")
@Data
public class GoodsOrderDTO {

	@ApiModelProperty("订单id")
	private Long goodsOrderId;

	@ApiModelProperty("医生主键id")
	private Long hospitalPersonId;

	@ApiModelProperty("居民主键id")
	private Long patientId;

	/**
	 * 订单状态，待付款：WAIT_PAY，已付款：PAY，已取消：CANCEL，待收货：WAIT_RECEIVED，已收货：RECEIVED，待退款：WAIT_REFUND，已退款：REFUNDED，待退货：WAIT_RETURNED，已退货：RETURNED
	 */
	@ApiModelProperty("订单状态，WAIT_PAY:待付款，"
		+ "PAY:已付款，"
		+ "CANCEL:已取消，"
		+ "WAIT_RECEIVED_GOODS（专家咨询订单为：待接单），"
		+ "RECEIVED_GOODS（商品订单为：待评价，专家咨询订单为：待服务），"
		+ "WAIT_REFUND：退款中，"
		+ "REFUNDED：已退款，"
		+ "WAIT_RETURNED_GOODS：待退货，"
		+ "RETURNED_GOODS：已退货，"
		+ "EVALUATED：已评价，"
		+ "COMPLETED:已完成（专家咨询订单使用）")
	private String orderStatus;

	/**
	 * 订单类型，积分兑换：INTEGRAL_EXCHANGE，直接购买：DIRECT_BUY，健康咨询：HEALTH_CONSULTATION
	 */
	@ApiModelProperty("订单类型，积分兑换：INTEGRAL_EXCHANGE，直接购买：DIRECT_BUY，健康咨询：HEALTH_CONSULTATION")
	private String orderType;

	/**
	 * 页码
	 */
	@ApiModelProperty("页码")
	private Integer pageNum;

	/**
	 * 页面大小
	 */
	@ApiModelProperty("页面大小")
	private Integer pageSize;

}
