package com.njcn.supervision.pojo.po.plan;

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.njcn.db.bo.BaseEntity;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 
 * Description:
 * Date: 2024/5/20  19:50【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@ApiModel(description="")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "supervision_problem")
public class SupervisionProblemPO extends BaseEntity {
    @TableId(value = "problem_Id", type = IdType.ASSIGN_UUID)
    private String problemId;

    /**
     * 关联计划表
     */
    @TableField(value = "plan_id")
    private String planId;

    /**
     * 所属网省id
     */
    @TableField(exist = false)
    private String provinceId;

    /**
     * 责任单位id，取ISC平台上的组织id
     */
    @TableField(value = "duty_Org_Id")
    private String dutyOrgId;

    @TableField(exist = false)
    private String dutyOrgName;

    /**
     * 监测点类型 ，仅供电电压监督计划必填
     */
    @TableField(value = "monitor_Type")
    private String monitorType;

    /**
     * 整改时间
     */
    @TableField(value = "rectification_Time")
    private LocalDateTime rectificationTime;

    /**
     * 计划整改时间
     */
    @TableField(value = "plan_Rectification_Time")
    private LocalDateTime planRectificationTime;

    /**
     * 是否发布预告警
     */
    @TableField(value = "if_Release_Warning")
    private String ifReleaseWarning;

    @TableField(value = "problem_Desc")
    private String problemDesc;

    /**
     * 问题描述
     */
    @TableField(value = "simple_Problem_Desc")
    private String simpleProblemDesc;

    @TableField(value = "supv_Standard_Sort")
    private String supvStandardSort;

    /**
     * 监督标准
     */
    @TableField(value = "supv_Standard")
    private String supvStandard;

    /**
     * 标准出处
     */
    @TableField(value = "supv_Resouce")
    private String supvResouce;

    /**
     * 问题等级	01 一般，02 较大
     */
    @TableField(value = "problem_Level")
    private String problemLevel;

    /**
     * 定级依据
     */
    @TableField(value = "problem_Level_Reason")
    private String problemLevelReason;

    /**
     * 问题类型
     */
    @TableField(value = "problem_Type")
    private String problemType;

    /**
     * 整改方案
     */
    @TableField(value = "rectification_Programme")
    private String rectificationProgramme;

    /**
     * 整改措施
     */
    @TableField(value = "rectification_Measure")
    private String rectificationMeasure;

    /**
     * 整改情况,	01已整改，02未整改
     */
    @TableField(value = "rectification_Status")
    private String rectificationStatus;

    /**
     * 是否上送国网 0.未上送 1.上送
     */
    @TableField(value = "is_Upload_Head")
    private String isUploadHead;

    /**
     * 问题发现时间
     */
    @TableField(value = "discovery_Time")
    private LocalDateTime discoveryTime;

    @TableField(value = "remark")
    private String remark;

    @TableField(exist = false)
    private String attachmentName;


    @TableField(exist = false)
    private String attachmentNameTwo;

}