package cn.iocoder.yudao.module.pms.dal.dataobject.inspect;

import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

/**
 * 巡检工单巡检明细 DO
 *
 * @author 芋道源码
 */
@TableName("rq_iot_inspect_order_detail")
@KeySequence("rq_iot_inspect_order_detail_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库，可不写。
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class IotInspectOrderDetailDO extends BaseDO {

    /**
     * 主键id
     */
    @TableId
    private Long id;
    /**
     * 工单id
     */
    private Long orderId;
    private Long routeId;
    /**
     * 设备id
     */
    private Long deviceId;
    /**
     * 巡检项id
     */
    private Long itemId;
    private Long indexId;
    /**
     * 是否正常
     */
    private Boolean ifNormal;
    /**
     * 异常描述
     */
    private String description;
    /**
     * 图片
     */
    private String picUrl;
    /**
     * 备注
     */
    private String remark;
    /**
     * 部门id
     */
    private Long deptId;

    private String standard;

    private String urls;

    private String item;

    private Long routeIndex;
    private Boolean ignoreReason;
}
