New file |
| | |
| | | package cc.mrbird.febs.mall.vo; |
| | | |
| | | import lombok.Data; |
| | | |
| | | import java.math.BigDecimal; |
| | | |
| | | @Data |
| | | public class AdminTeamListVo { |
| | | |
| | | private Long id; |
| | | |
| | | private String name; |
| | | |
| | | private String phone; |
| | | |
| | | private String inviteId; |
| | | |
| | | private Integer directCnt; |
| | | |
| | | private Integer teamCnt; |
| | | |
| | | private BigDecimal teamOrderAmount; |
| | | |
| | | private BigDecimal teamProfitAmount; |
| | | |
| | | private BigDecimal selfProfitAmount; |
| | | |
| | | public BigDecimal getTeamProfitAmount() { |
| | | return teamProfitAmount == null ? BigDecimal.ZERO : teamProfitAmount; |
| | | } |
| | | |
| | | public BigDecimal getTeamOrderAmount() { |
| | | return teamOrderAmount == null ? BigDecimal.ZERO : teamOrderAmount; |
| | | } |
| | | |
| | | public BigDecimal getSelfProfitAmount() { |
| | | return selfProfitAmount== null ? BigDecimal.ZERO : selfProfitAmount; |
| | | } |
| | | } |