| | |
| | | package com.yeshi.fanli.dto.order;
|
| | |
|
| | | import java.math.BigDecimal;
|
| | |
|
| | | import com.yeshi.fanli.entity.bus.user.vip.UserLevelEnum;
|
| | |
|
| | | public class UserTeamRate extends UserTeamLevel {
|
| | | BigDecimal rate;
|
| | |
|
| | | public UserTeamRate(Long uid, UserLevelEnum level) {
|
| | | super(uid, level);
|
| | | }
|
| | |
|
| | | public UserTeamRate(Long uid, UserLevelEnum level, BigDecimal rate) {
|
| | | super(uid, level);
|
| | | this.rate = rate;
|
| | | }
|
| | |
|
| | | public UserTeamRate(UserTeamLevel level, BigDecimal rate) {
|
| | | super(level.getUid(), level.getLevel());
|
| | | this.rate = rate;
|
| | | }
|
| | |
|
| | | public BigDecimal getRate() {
|
| | | return rate;
|
| | | }
|
| | |
|
| | | public void setRate(BigDecimal rate) {
|
| | | this.rate = rate;
|
| | | }
|
| | | }
|
| | | package com.yeshi.fanli.dto.order; |
| | | |
| | | import java.math.BigDecimal; |
| | | |
| | | import com.yeshi.fanli.entity.bus.user.vip.UserLevelEnum; |
| | | |
| | | public class UserTeamRate extends UserTeamLevel { |
| | | BigDecimal rate; |
| | | |
| | | public UserTeamRate(Long uid, UserLevelEnum level) { |
| | | super(uid, level); |
| | | } |
| | | |
| | | public UserTeamRate(Long uid, UserLevelEnum level, BigDecimal rate) { |
| | | super(uid, level); |
| | | this.rate = rate; |
| | | } |
| | | |
| | | public UserTeamRate(UserTeamLevel level, BigDecimal rate) { |
| | | super(level.getUid(), level.getLevel()); |
| | | this.rate = rate; |
| | | } |
| | | |
| | | public BigDecimal getRate() { |
| | | return rate; |
| | | } |
| | | |
| | | public void setRate(BigDecimal rate) { |
| | | this.rate = rate; |
| | | } |
| | | } |