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;
import java.util.List;

/**
 * 运维-巡检-计划对象 ops_inspection_plan
 *
 * @author LionLi
 * @date 2025-09-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("ops_inspection_plan")
public class OpsInspectionPlan extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

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

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

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

    /**
     * 计划类型，1每日巡检2每周巡检3每月巡检4每季度巡检
     */
    private String planType;

    /**
     * 巡检对象，1服务器2网络设备3应用系统4基础设施
     */
    private String objectType;

    /**
     * 开始日期
     */
    private Date beginTime;

    /**
     * 结束日期
     */
    private Date endTime;

    /**
     * 巡检频率
     */
    private String inspectionFrequency;

    /**
     * 计划开始时间
     */
    private String planBeginTime;

    /**
     * 持续时间(分钟)
     */
    private Long duration;

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


    /**
     * 巡检项IDS
     */
    private String inspectionItemId;

    /**
     * 1启用2停用
     */
    private String status;

    /**
     * 备注
     */
    private String remark;


}
