| package com.matrix.system.hive.statistics; | 
|   | 
| public enum BusinessDataTypeEnum { | 
|   | 
|     CASH_PAY(1, "收现金额", "cashPay"), | 
|     CARD_PAY(1, "实收余额支付", "cardPay"), | 
|     REFUND_CASH_PAY(1, "现金退款", "refundCashPay"), | 
|     REFUND_CARD_PAY(1, "卡项退款", "refundCardPay"), | 
|     ARREARS_PAY(1, "欠款", "arrearsPay"), | 
|   | 
|     CONSUME_PAY(1, "消耗金额", "consumePay"), | 
|     FREE_CONSUME_PAY(1, "赠送消耗", "freeConsumePay"), | 
|   | 
|   | 
|     CUSTOMER_NUM(1, "到店人数", "customerNum"), | 
|     ORDER_NUM(1, "订单数", "orderNum"), | 
|     SERVICE_ORDER_NUM(1, "服务单数", "serviceOrderNum"), | 
|     ; | 
|   | 
|     private String code; | 
|     private int type; | 
|     private String name; | 
|     private int sequence; | 
|   | 
|   | 
|     BusinessDataTypeEnum(int type, String name, String code) { | 
|         this.code = code; | 
|         this.type = type; | 
|         this.name = name; | 
|     } | 
|   | 
|     public String getCode() { | 
|         return code; | 
|     } | 
|   | 
|     public void setCode(String code) { | 
|         this.code = code; | 
|     } | 
|   | 
|     public int getType() { | 
|         return type; | 
|     } | 
|   | 
|     public void setType(int type) { | 
|         this.type = type; | 
|     } | 
|   | 
|     public String getName() { | 
|         return name; | 
|     } | 
|   | 
|     public void setName(String name) { | 
|         this.name = name; | 
|     } | 
|   | 
|     public int getSequence() { | 
|         return sequence; | 
|     } | 
|   | 
|     public void setSequence(int sequence) { | 
|         this.sequence = sequence; | 
|     } | 
| } |