package com.corewing.app.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 教程与分类关系实体
 */
@Data
@TableName("app_tutorial_category_relation")
public class TutorialCategoryRelation implements Serializable {

    private static final long serialVersionUID = 1L;

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

    /**
     * 教程id
     */
    private Long TutorialId;

    /**
     * 教程分类id
     */
    private Long CategoryId;

}
