package com.ruoyi.cs.domain.vo;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * 资源字典数据对象 cs_resource_dict_data
 * 
 * @author ruoyi
 * @date 2024-04-29
 */
@Getter
@Setter
@ToString
public class CsResourceDictDataWithChildren  implements Serializable {

    private static final long serialVersionUID = 1L;

    /** 字典编码 */
    private Long dictCode;

    /** 父级字典编码(0-无父级) */
    @Excel(name = "父级字典编码(0-无父级)")
    private Long dictPcode;

    /** 字典排序 */
    @Excel(name = "字典排序")
    private Integer dictSort;

    /** 字典标签 */
    @Excel(name = "字典标签")
    private String dictLabel;

    /** 字典键值 */
    @Excel(name = "字典键值")
    private String dictValue;

    /** 类型(GPU、CPU) */
    @Excel(name = "类型(GPU、CPU)")
    private String resourceType;

    /** 核心数 */
    @Excel(name = "核心数")
    private String resourceCores;

    /** 存储 */
    @Excel(name = "存储")
    private String resourceMemory;

    /** 字典类型 */
    @Excel(name = "字典类型")
    private String dictType;

    /** 样式属性（其他样式扩展） */
    @Excel(name = "样式属性", readConverterExp = "其=他样式扩展")
    private String cssClass;

    /** 表格回显样式 */
    @Excel(name = "表格回显样式")
    private String listClass;

    /** 是否默认（Y是 N否） */
    @Excel(name = "是否默认", readConverterExp = "Y=是,N=否")
    private String isDefault;

    /** 上架状态（0已上架 1下架） */
    @Excel(name = "上架状态", readConverterExp = "0=已上架,1=下架")
    private String status;

    /** 子级 */
    private List<CsResourceDictDataWithChildren> children;
}
