package cn.cslg.pas.domain.asso;

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 lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.lang.reflect.Type;

/**
 * 事件和专题库关联表
 *
 * @Author chenyu
 * @Date 2023/4/3
 */
@TableName(value = "asso_event_project")
@Accessors(chain = true)
@Data
public class AssoEventProject implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 事件id
     */
    @TableField(value = "event_id")
    private Integer eventId;
    /**
     * 专题库id
     */
    @TableField(value = "project_id")
    private Integer projectId;

}
