package com.njcn.device.pms.pojo.param;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.njcn.db.bo.BaseEntity;
import com.njcn.web.pojo.param.BaseParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.NotBlank;

/**
 * pqs
 *
 * @author cdf
 * @date 2023/2/20
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class NewEnergyQueryParam extends BaseParam {

    @ApiModelProperty(value = "单位id")
    private String orgId;

    @Data
    public static class Info {

        private static final long serialVersionUID = 1L;
        /**
         * id
         */
        @TableId("Id")
        private String id;

        /**
         * 名称
         */
        @NotBlank(message = "对象类型不能为空")
        @TableField("Obj_Name")
        private String objName;
        /**
         * 组织机构名称
         */
        @TableField("Org_Name")
        private String orgName;

        /**
         * 组织机构ID(外键)
         */
        @TableField("Org_Id")
        private String orgId;
        /**
         * 电压等级
         */
        @TableField("voltage_Level")
        private String voltageLevel;

        /**
         * 电压等级
         */
        @TableField("Powerr_Name")
        private String powerrName;

        /**
         * 检测点对象类型(字典)
         */
        @TableField("Obj_Type")
        private String objType;

        /**
         * 电压等级
         */
        @TableField("station_status")
        private String stationStatus;

    }

}
