package cn.cslg.report.entity;

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 = "COMPARE_MESSAGE")
public class CompareMessage extends BaseEntity<CompareMessage> {
    @Schema(description = "标的说明")
    @TableField(value = "TARGET_DESCRIPTION")
    private String targetDescription;

    @Schema(description = "对比说明")
    @TableField(value = "COMPARE_DESCRIPTION")
    private String compareDescription;

    @Schema(description = "对比结果")
    @TableField(value = "COMPARE_RESULT")
    private Integer compareResult;

    @Schema(description = "特征ID")
    @TableField(value = "FEATURE_ID")
    private Integer featureId;
    @Schema(description = "报告ID")
    @TableField(value = "REPORT_ID")
    private Integer reportId;
    @Schema(description = "任务ID")
    @TableField(value = "TASK_ID")
    private Integer taskId;

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