package cn.cslg.report.entity.asso;

import cn.cslg.report.common.model.BaseEntity;
import cn.cslg.report.entity.CompareRecords;
import cn.cslg.report.entity.Features;
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_RECORDS_FEATURES")
public class AssoRecordsFeature extends BaseEntity<AssoRecordsFeature> {
    @Schema(description = "记录Id")
    @TableField(value = "RECORDS_ID")
    private Integer recordsId;


    @Schema(description = "特征Id",required = true)
    @TableField(value = "FEATURE_ID")
    private Integer featureId;

    @Schema(description = "结果")
    @TableField(value = "COM_RESULT")
    private String comResult;

    @TableField(exist = false)
    private CompareRecords compareRecords;

    @TableField(exist = false)
    private Features features;


}
