package cn.cslg.report.entity.asso;

import cn.cslg.report.common.model.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 对比方案与对比记录关联表
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@TableName(value = "ASSO_TASK_PERSONEL")
public class AssoTaskPersonel extends BaseEntity<AssoTaskPersonel> {
    @Schema(description = "任务ID")
    @TableField(value = "TASK_ID")
    private Integer taskId;


    @Schema(description = "任务类型")
    @TableField(value = "TASK_TYPE")
    private Integer taskType;

    @Schema(description = "人员ID")
    @TableField(value = "PERSON_ID")
    private Integer personelId;

    @Schema(description = "人员类型")
    @TableField(value = "PERSON_TYPE")
    private Integer personelType;

    @Schema(description = "报告ID")
    @TableField(value = "REPORT_ID")
    private Integer reportId;

    @Schema(description = "专利号")
    @TableField(value = "PATENT_NO")
    private String patentNo;
    @Schema(description = "是否已读（0未读1已读）")
    @TableField(value = "STATE")
    private int state;

}
