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;
import java.sql.Date;

@Data
public class PropertyPrepaymentConfirmListVo {

    /**
     * 收费标准id
     */
    private Long feeId;
    /**
     * 收费标准名称
     */
    private String feeName;
    private Date startDate;
    private Date endDate;

    /**
     * 收费金额 (预存款抵充额)
     */
    @JsonIgnore
    private long deductAmtFen;
    public BigDecimal getDeductAmt() {
        return AmtUtil.fenToYuan(this.deductAmtFen);
    }

}
