package com.chushang.inspection.project.po;

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 com.chushang.common.mybatis.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 这里才是对应的data
  * @auther: zhao
  * @date: 2024/6/18 15:39
  */
@Data
@EqualsAndHashCode(callSuper=true)
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "inspection_data")
public class InspectionData extends BaseEntity {
    /**
     * 配置id 主键
     */
    @TableId(value = "data_id", type = IdType.ASSIGN_ID)
    private Long dataId;
    /**
     * 详情id
     */
    @TableField(value = "detail_id")
    private Long detailId;
    /**
     * 对应工单id
     */
    @TableField(value = "ins_id")
    private Long insId;
    /**
     * 配置对应value
     */
    @TableField(value = "config_value")
    private String configValue;
    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;
    /**
     * label 对应的结果值--此值为选项值, 非最终呈现值
     */
    @TableField(value = "result")
    private String result;
}
