Commit 8d0dba6ae2e1827c4e7eba7b9d1a3882b5311b05
1 parent
ded85aa6
update FUND
Showing
1 changed file
with
4 additions
and
3 deletions
myapp-common/src/main/java/com/b2c/myapp/common/api/fundTrade/output/FundTradeOutput.java
1 | 1 | package com.b2c.myapp.common.api.fundTrade.output; |
2 | 2 | |
3 | +import com.b2c.myapp.common.enums.TradeType; | |
3 | 4 | import io.swagger.annotations.ApiModelProperty; |
4 | 5 | |
5 | 6 | import java.io.Serializable; |
... | ... | @@ -57,7 +58,7 @@ public class FundTradeOutput implements Serializable { |
57 | 58 | * 交易类型(1:充值 2:冻结3:消费) |
58 | 59 | */ |
59 | 60 | @ApiModelProperty(value = "交易类型(1:充值 2:冻结3:消费)") |
60 | - private Integer tradeType; | |
61 | + private TradeType tradeType; | |
61 | 62 | /** |
62 | 63 | * |
63 | 64 | */ |
... | ... | @@ -121,10 +122,10 @@ public class FundTradeOutput implements Serializable { |
121 | 122 | public Long getTradePrice(){ |
122 | 123 | return this.tradePrice; |
123 | 124 | } |
124 | - public void setTradeType (Integer tradeType){ | |
125 | + public void setTradeType (TradeType tradeType){ | |
125 | 126 | this.tradeType = tradeType; |
126 | 127 | } |
127 | - public Integer getTradeType(){ | |
128 | + public TradeType getTradeType(){ | |
128 | 129 | return this.tradeType; |
129 | 130 | } |
130 | 131 | public void setYn (Integer yn){ |
... | ... |