package cn.cslg.report.entity.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;

/**
 * 事件和报告关联表实体类
 *
 * @Author chenyu
 * @Date 2023/4/4
 */
@TableName(value = "asso_event_report")
@Accessors(chain = true)
@Data
public class AssoEventReport implements Serializable {
    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 事件id
     */
    @TableField(value = "event_id")
    private Integer eventId;
    /**
     * 报告id
     */
    @TableField(value = "report_id")
    private Integer reportId;

}
