package com.yuchen.saas.park.api.vo.property;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.thinkunion.park.service.common.utils.AmtUtil;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class PropertyPrepaymentFeeItemListVo {
    /**
     * 预存款账户id
     */
    private Long feeItemId;
    /**
     * 预存款账户名称
     */
    private String feeItemName;

    @JsonIgnore
    private long balanceAmtFen;

    /**
     * 预存款余额
     */
    private BigDecimal balanceAmt;

    public BigDecimal getBalanceAmt() {
        return AmtUtil.fenToYuan(this.balanceAmtFen);
    }


}
