package com.zzsn.knowbase.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author obcy
 * @since 2024-01-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("kb_authuser_knowledgeproject_map")
public class KbAuthuserKnowledgeprojectMap extends Model<KbAuthuserKnowledgeprojectMap> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @TableField("auth_user_id")
    private String authUserId;

    @TableField("knowledge_project_id")
    private String knowledgeProjectId;

    /**
     * 是否是分类授权（0，是分类授权，1，是分类下资讯授权）
     */
    @TableField("sign")
    private Integer sign;

    @TableField("create_date")
    private Date createDate;




}
