| package com.matrix.system.app.dto; | 
|   | 
| import io.swagger.annotations.ApiModel; | 
| import io.swagger.annotations.ApiModelProperty; | 
|   | 
| /** | 
|  * @author wzy | 
|  * @date 2020-12-23 | 
|  **/ | 
| @ApiModel(value = "OrderListDto", description = "订单列表接收参数类") | 
| public class OrderListDto extends BasePageDto { | 
|   | 
|     @ApiModelProperty(value = "订单状态 0-全部 1-待付款 2-已付款 3-欠款 全部默认传空字符串", example = "1") | 
|     private Integer orderStatus; | 
|   | 
|     @ApiModelProperty(hidden = true) | 
|     private String status; | 
|   | 
|     @ApiModelProperty(value = "查询字段") | 
|     private String queryKey; | 
|   | 
|     @ApiModelProperty(hidden = true) | 
|     private Long shopId; | 
|   | 
|     @ApiModelProperty(hidden = true) | 
|     private Long companyId; | 
|   | 
|     public Long getCompanyId() { | 
|         return companyId; | 
|     } | 
|   | 
|     public void setCompanyId(Long companyId) { | 
|         this.companyId = companyId; | 
|     } | 
|   | 
|     public Long getShopId() { | 
|         return shopId; | 
|     } | 
|   | 
|     public void setShopId(Long shopId) { | 
|         this.shopId = shopId; | 
|     } | 
|   | 
|     public String getStatus() { | 
|         return status; | 
|     } | 
|   | 
|     public void setStatus(String status) { | 
|         this.status = status; | 
|     } | 
|   | 
|     public String getQueryKey() { | 
|         return queryKey; | 
|     } | 
|   | 
|     public void setQueryKey(String queryKey) { | 
|         this.queryKey = queryKey; | 
|     } | 
|   | 
|     public Integer getOrderStatus() { | 
|         return orderStatus; | 
|     } | 
|   | 
|     public void setOrderStatus(Integer orderStatus) { | 
|         this.orderStatus = orderStatus; | 
|         switch (orderStatus) { | 
|             case 0 : | 
|                 this.status = ""; | 
|                 break; | 
|             case 1: | 
|                 this.status = "待付款"; | 
|                 break; | 
|             case 2: | 
|                 this.status = "已付款"; | 
|                 break; | 
|             case 3: | 
|                 this.status = "欠款"; | 
|                 break; | 
|             default: | 
|                 this.status = ""; | 
|                 break; | 
|         } | 
|     } | 
| } |