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

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import com.njcn.db.bo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * Description:
 * Date: 2024/5/13  18:35【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@ApiModel(description="")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "supervision_general_survey_plan_detail")
public class SupervisionGeneralSurveyPlanDetailPO extends BaseEntity {
    /**
     * 普测计划编号
     */
    @MppMultiId(value = "plan_no")
    @ApiModelProperty(value="普测计划编号")
    private String planNo;

    /**
     * 变电站ID
     */
    @MppMultiId(value = "sub_id")
    @ApiModelProperty(value="变电站ID")
    private String subId;

    /**
     * 变电站名称
     */
    @TableField(value = "sub_name")
    @ApiModelProperty(value="变电站名称")
    private String subName;

    /**
     * 变电站电压等级
     */
    @TableField(value = "voltage_level")
    @ApiModelProperty(value="变电站电压等级")
    private String voltageLevel;

    /**
     * 容量
     */
    @TableField(value = "capacity")
    @ApiModelProperty(value="容量")
    private Long capacity;

    /**
     * 在线监测点id
     */
    @TableField(value = "measurement_point_id")
    @ApiModelProperty(value="在线监测点id")
    private String measurementPointId;

    /**
     * 是否生成问题(0:否 1:是)
     */
    @TableField(value = "is_problem")
    @ApiModelProperty(value="是否生成问题(0:否 1:是)")
    private Integer isProblem;

    /**
     * 是否实现监测(0:否 1:是)
     */
    @TableField(value = "is_survey")
    @ApiModelProperty(value="是否实现监测(0:否 1:是)")
    private Integer isSurvey;

    /**
     * 存在问题的普测变电站是否发起告警单，0：否，1：是
     */
    @TableField(value = "initiate_warning_flag")
    @ApiModelProperty(value="是否发起告警单")
    private Integer initiateWarningFlag;

    /**
     * 状态：0-删除 1-正常
     */
    @TableField(value = "State")
    private Integer state;
}