package com.ssm.manage.extendEntity;

import com.ssm.manage.utils.BigDecimalUtils;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Map;

@Data
public class NegativeKazin {

    public static NegativeKazin getNegativeKazin(){
        NegativeKazin NEGATIVE_KAZIN = new NegativeKazin();
        NEGATIVE_KAZIN.setBeginning(BigDecimal.valueOf(0));
        NEGATIVE_KAZIN.setEarnings(BigDecimal.valueOf(0));
        NEGATIVE_KAZIN.setExpenditure(BigDecimal.valueOf(0));
        NEGATIVE_KAZIN.setBalance(BigDecimal.valueOf(0));
        return NEGATIVE_KAZIN;
    }

    /**
     * 期初
     */
    private BigDecimal beginning; //
    /**
     * 收入
     */
    private BigDecimal earnings; //
    /**
     * 支出
     */
    private BigDecimal expenditure; //
    /**
     * 结存
     */
    private BigDecimal balance; //

    /**
     *
     */
    private String type;

}
