package com.usky.ems.service.vo;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 能源分项编码视图对象
 */
@Data
public class EnergyItemCodeVO {

    private Long id;

    private String code;

    private String parentCode;

    private String name;

    private String unit;

    private String unitName;

    /** 计算公式 */
    private String formula;

    /** 子分项 */
    private List<EnergyItemCodeVO> children = new ArrayList<>();
}

