package com.ruoyi.cs.domain;

import com.ruoyi.common.core.domain.entity.SysDictData;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 资源字典数据对象 cs_resource_dict_data
 * 
 * @author ruoyi
 * @date 2024-04-29
 */
@Getter
@Setter
@ToString
public class CsResourceDictData extends BaseEntity
{
    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;


}
