package com.ktg.iscs.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ktg.common.annotation.Excel;
import com.ktg.common.core.domain.model.BaseBean;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 硬件类型对象 is_hardware_type
 *
 * @author cgj
 * @date 2024-10-16
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class IsHardwareType extends BaseBean {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键id")
    private Long id;

    /**
     * 硬件类型编码
     */
    @ApiModelProperty(value = "硬件类型编码")
    @Excel(name = "硬件类型编码")
    private String hardwareTypeCode;

    /**
     * 硬件类型名称
     */
    @ApiModelProperty(value = "硬件类型名称")
    @Excel(name = "硬件类型名称")
    private String hardwareTypeName;

    /**
     * 父类型ID
     */
    @ApiModelProperty(value = "父类型ID")
    @Excel(name = "父类型ID")
    private Long parentTypeId;

    /**
     * 所有父节点ID
     */
    @ApiModelProperty(value = "所有父节点ID")
    @Excel(name = "所有父节点ID")
    private String ancestors;

    /**
     * 是否启用
     */
    @ApiModelProperty(value = "是否启用（Y-N）")
    @Excel(name = "是否启用")
    private String enableFlag;

    @ApiModelProperty(value = "层级")
    @Excel(name = "层级")
    private String level;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    @ApiModelProperty(value = "删除标志（0代表存在 2代表删除）")
    private String delFlag;


}
