package org.dromara.web.domain;

import org.dromara.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 耗材分类对象 supplies_category
 *
 * @author Lion Li
 * @date 2025-06-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("supplies_category")
public class SuppliesCategory extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 耗材分类ID
     */
    @TableId(value = "category_id")
    private Long categoryId;

    /**
     * 父耗材分类id
     */
    private Long parentId;

    /**
     * 耗材分类名称
     */
    private String categoryName;

    /**
     * 显示顺序
     */
    private Long orderNum;

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


}
