| | |
| | | |
| | | import com.lunhan.water.common.util.LocalDateTimeUtil; |
| | | import com.lunhan.water.common.util.NumericUtil; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.Objects; |
| | | import com.lunhan.water.repository.po.UserLoginPO; |
| | | |
| | |
| | | * @author lin.liu |
| | | */ |
| | | @Data |
| | | public class UserLoginVO extends UserLoginPO implements BasicVO { |
| | | |
| | | public class UserLoginVO extends UserLoginPO implements BasicVO { |
| | | /** |
| | | * 总够水量 |
| | | */ |
| | | private BigDecimal sumBuyCount; |
| | | /** |
| | | * 累计用水量 |
| | | */ |
| | | private BigDecimal sumUseCount; |
| | | @Override |
| | | public String getCreateTimeView() { |
| | | if (NumericUtil.tryParseLong(this.getCreateTime()).compareTo(0L) > 0) { |