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

import com.thinkunion.park.service.common.utils.AmtUtil;
import com.yuchen.saas.park.api.entity.property.PropertyShareFee;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class PropertyShareFeeListVo extends PropertyShareFee {

    /**
     * 园区名称
     */
    private String parkName;

    /**
     * 费用名称
     */
    private String feeName;

    /**
     * 总金额
     */
    private BigDecimal totalAmt;
    public BigDecimal getTotalAmt() {
        return AmtUtil.fenToYuan(this.getTotalAmtFen());
    }

    /**
     * 分摊人员
     */
    private String shareUserName;

    /**
     * 创建人
     */
    private String createName;

}
