Commit c7142ad30f9ca8b916023782dd434371de0acdb3

Authored by jiangchengyong
1 parent 371fb050

update

myapp-common/src/main/java/com/b2c/myapp/common/api/fundTrade/input/FundTradeListInput.java
1 1 package com.b2c.myapp.common.api.fundTrade.input;
2 2  
3 3  
  4 +import com.b2c.myapp.common.enums.TradeType;
4 5 import com.b2c.myapp.common.utils.base.BaseQuery;
5 6 import io.swagger.annotations.ApiModel;
6 7 import io.swagger.annotations.ApiModelProperty;
... ... @@ -61,7 +62,7 @@ public class FundTradeListInput extends BaseQuery implements Serializable{
61 62 * 交易类型(1:充值 2:冻结 3:解冻 4:消费)
62 63 */
63 64 @ApiModelProperty(value = "交易类型(1:充值 2:冻结 3:解冻 4:消费)")
64   - private Integer tradeType;
  65 + private TradeType tradeType;
65 66 /**
66 67 *
67 68 */
... ... @@ -130,10 +131,10 @@ public class FundTradeListInput extends BaseQuery implements Serializable{
130 131 public Long getTradePrice(){
131 132 return this.tradePrice;
132 133 }
133   - public void setTradeType (Integer tradeType){
  134 + public void setTradeType (TradeType tradeType){
134 135 this.tradeType = tradeType;
135 136 }
136   - public Integer getTradeType(){
  137 + public TradeType getTradeType(){
137 138 return this.tradeType;
138 139 }
139 140 public void setRemark (String remark){
... ...
myapp-common/src/main/java/com/b2c/myapp/common/api/fundTrade/input/FundTradeUpdateInput.java
1 1 package com.b2c.myapp.common.api.fundTrade.input;
2 2  
3 3  
  4 +import com.b2c.myapp.common.enums.TradeType;
4 5 import io.swagger.annotations.ApiModelProperty;
5 6 import org.hibernate.validator.constraints.NotBlank;
6 7  
... ... @@ -69,7 +70,7 @@ public class FundTradeUpdateInput implements Serializable{
69 70 */
70 71 @ApiModelProperty(value = "交易类型(1:充值 2:冻结 3:解冻 4:消费)",required = true)
71 72 @NotNull(message="交易类型(1:充值 2:冻结 3:解冻 4:消费)不能为空")
72   - private Integer tradeType;
  73 + private TradeType tradeType;
73 74 /**
74 75 *
75 76 */
... ... @@ -125,10 +126,10 @@ public class FundTradeUpdateInput implements Serializable{
125 126 public Long getTradePrice(){
126 127 return this.tradePrice;
127 128 }
128   - public void setTradeType (Integer tradeType){
  129 + public void setTradeType (TradeType tradeType){
129 130 this.tradeType = tradeType;
130 131 }
131   - public Integer getTradeType(){
  132 + public TradeType getTradeType(){
132 133 return this.tradeType;
133 134 }
134 135 public void setRemark (String remark){
... ...