package com.yhy.module.core.dal.dataobject.resource;

import cn.iocoder.yudao.framework.tenant.core.db.TenantBaseDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 工料机机类树与类别字典关联 DO
 *
 * @author yihuiyong
 */
@TableName("yhy_resource_category_tree_mapping")
@KeySequence("yhy_resource_category_tree_mapping_id_seq")
@Data
@EqualsAndHashCode(callSuper = true)
public class ResourceCategoryTreeMappingDO extends TenantBaseDO {

    /**
     * 主键
     */
    @TableId
    private Long id;

    /**
     * 工料机机类树节点ID
     */
    private Long categoryTreeId;

    /**
     * 类别字典ID
     */
    private Long categoryId;

    /**
     * 排序
     */
    private Integer sortOrder;
}
