package org.dromara.inspection.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serial;

/**
 * 运维-巡检-试验计划对象 ops_inspection_test_plan
 *
 * @author LionLi
 * @date 2025-09-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("ops_inspection_test_plan")
public class OpsInspectionTestPlan extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 电站ID
     */
    private Long projectId;

    /**
     * 计划名称
     */
    private String planName;

    /**
     * 计划编号
     */
    private String planCode;

    /**
     * 实验对象类型,1安全试验2网络实验3性能试验4
     */
    private String testObject;

    /**
     *
     */
    private Date beginTime;

    /**
     *
     */
    private Date endTime;

    /**
     * 试验目的与预期结果
     */
    private String testInfo;

    /**
     * 实验环境
     */
    private String testSetting;

    /**
     * 负责人ID
     */
    private Long personCharge;

    /**
     * 参与人员IDS
     */
    private String personIds;

    /**
     * 自定义检查项
     */
    private String inspectionItems;

    /**
     * 实验步骤
     */
    private String testStep;

    /**
     * 所需资源与设备
     */
    private String testDevice;

    /**
     * 风险评估与应对措施
     */
    private String testSolutions;

    /**
     * 申请状态 1已批准2进行中3已完成4草稿5未通过
     */
    private String testStatus;

    //1启动2停止
    private String testPlanType;
}
