class TravelCost extends AbstractFinanceRowItem {

    @Override
    public BigDecimal getTotal() {
        if (cost == null || quantity == null) {
            return BigDecimal.ZERO;
        }
        return cost.multiply(new BigDecimal(quantity));
    }

    private  TravelCost();
    public  TravelCost(Long targetId);
    public  TravelCost(Long id, String item, BigDecimal cost, Integer quantity, Long targetId);

}