package com.bonus.material.ma.domain;

import com.bonus.common.core.annotation.Excel;
import com.bonus.common.core.web.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 物资类型对象 ma_type
 * @author syruan
 */
@EqualsAndHashCode(callSuper = false)
@Data
@ToString
public class StandardConfigBean extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 配置id */
    @ApiModelProperty(value = "配置id")
    private Long Id;

    /** 配置id */
    @ApiModelProperty(value = "配置id")
    private Long configId;

    /** 配置名称 */
    @ApiModelProperty(value = "配置名称")
    private String configName;


    /** 上级ID */
    @ApiModelProperty(value = "上级ID")
    private Long parentId;


    /** 层级 */
    @ApiModelProperty(value = "层级")
    private String level;


    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;


    private String keyword;

    /** 子节点 */
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List<StandardConfigBean> children = new ArrayList<>();

}
