package com.kcim.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.util.List;

@Data
@ApiModel
public class AccountVO {

    private Long id;

    private String accountingName;

    private String accountingCode;

    @JsonIgnore
    private Long parentId;

    private Integer isBaseCost;
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List<AccountVO> children;

    /**
     * true表示选中  是否被分摊参数选中
     */
    private Boolean isShareParamSelect = false;

    /**
     * true表示选中  是否被收入归集设置选中
     */
    private Boolean isIncomeGroutSetSelect = false;
    private Integer costType;

    private String type;

    private String typeName;

    private Integer controlType;

    private Integer medicalType;

}
