| | |
| | | package cc.mrbird.febs.dapp.vo; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.math.RoundingMode; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author wzy |
| | |
| | | @ApiModel(value = "TeamLIstVo", description = "团队列表接口返回参数类") |
| | | public class TeamListVo { |
| | | |
| | | private String address; |
| | | @ApiModelProperty(value = "名称") |
| | | private String name; |
| | | |
| | | private Integer count; |
| | | @ApiModelProperty(value = "是否认购") |
| | | private int hasMoney; |
| | | |
| | | private BigDecimal coinCount; |
| | | @ApiModelProperty(value = "子节点") |
| | | private List<TeamListVo> children = new ArrayList<>(); |
| | | |
| | | public BigDecimal getCoinCount() { |
| | | return coinCount.setScale(2, RoundingMode.HALF_DOWN); |
| | | } |
| | | } |