package com.xhpc.evcs.domain;

import com.xhpc.common.core.web.domain.BaseEntity;

import javax.persistence.*;

@Table(name = "xhpc_charging_pile")
@Entity
public class XhpcChargingPile extends BaseEntity {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "charging_pile_id", nullable = false)
    private Long id;

    @Column(name = "charging_station_id")
    private Long chargingStationId;

    @Column(name = "name", length = 30)
    private String name;

    @Column(name = "national_standard", length = 50)
    private String nationalStandard;

    @Column(name = "power")
    private Double power;

    @Column(name = "auxiliary_power_supply")
    private Double auxiliaryPowerSupply;

    @Column(name = "input_voltage")
    private Double inputVoltage;

    @Column(name = "max_voltage")
    private Double maxVoltage;

    @Column(name = "min_voltage")
    private Double minVoltage;

    @Column(name = "max_electric_current")
    private Double maxElectricCurrent;

    @Column(name = "min_electric_current")
    private Double minElectricCurrent;

    @Column(name = "serial_number", length = 30)
    private String serialNumber;

    @Column(name = "type")
    private Integer type;

    @Column(name = "program_version", length = 20)
    private String programVersion;

    @Column(name = "network_link_type", length = 20)
    private String networkLinkType;

    @Column(name = "gun_number")
    private Integer gunNumber;

    @Column(name = "communication_protocol_version", length = 20)
    private String communicationProtocolVersion;

    @Column(name = "communication_operator", length = 20)
    private String communicationOperator;

    @Column(name = "sim_card", length = 30)
    private String simCard;

    @Column(name = "status")
    private Integer status;

    @Column(name = "del_flag")
    private Integer delFlag;

    @Column(name = "rate_model_id")
    private Long rateModelId;

    @Column(name = "brand_model")
    private String brandModel;

    @Column(name = "production_date", length = 10)
    private String productionDate;

    @Column(name = "manufacture_name", length = 30)
    private String manufactureName;

    @Column(name = "connector_type")
    private Integer connectorType;

    @Column(name = "equipment_type")
    private Integer equipmentType;

    @Column(name = "current")
    private Integer current;

    @Column(name = "search_value")
    private String searchValue;
    /**
     * 设备出厂编码
     */
    @Column(name = "equipment_product_code")
    private String equipmentProductCode;
    /**
     * 设备出厂编码
     */
    @Column(name = "transformer_id")
    private String transformerID;
    /**
     * 新国标
     */
    @Column(name = "new_national_standard")
    private Integer newNationalStandard;
    /**
     *  是否支持  VIN 码识别
     */
    @Column(name = "vin_flag")
    private Integer vinFlag;
    /**
     *  设备状态
     */
    @Column(name = "equipment_status")
    private Integer equipmentStatus;
    /**
     *  设备用途
     */
    @Column(name = "equipment_purpose")
    private Integer equipmentPurpose;

    @Column(name = "manufacturer_id")
    private String manufacturerId;

    @Column(name = "equipment_classificatlon")
    private Integer equipmentClassificatlon;

    @Column(name = "aux_power")
    private Integer auxPower;


    private String constructionTime;

    public Integer getEquipmentType() {

        return equipmentType;
    }

    public void setEquipmentType(Integer equipmentType) {

        this.equipmentType = equipmentType;
    }

    public Integer getCurrent() {

        return current;
    }

    public void setCurrent(Integer current) {

        this.current = current;
    }

    public Integer getConnectorType() {

        return connectorType;
    }

    public void setConnectorType(Integer connectorType) {

        this.connectorType = connectorType;
    }

    public String getManufactureName() {

        return manufactureName;
    }

    public void setManufactureName(String manufactureName) {

        this.manufactureName = manufactureName;
    }

    public String getProductionDate() {

        return productionDate;
    }

    public void setProductionDate(String productionDate) {

        this.productionDate = productionDate;
    }

    public String getBrandModel() {

        return brandModel;
    }

    public void setBrandModel(String brandModel) {

        this.brandModel = brandModel;
    }

    public Long getRateModelId() {

        return rateModelId;
    }

    public void setRateModelId(Long rateModelId) {

        this.rateModelId = rateModelId;
    }

    public Integer getDelFlag() {

        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {

        this.delFlag = delFlag;
    }

    public Integer getStatus() {

        return status;
    }

    public void setStatus(Integer status) {

        this.status = status;
    }

    public String getSimCard() {

        return simCard;
    }

    public void setSimCard(String simCard) {

        this.simCard = simCard;
    }

    public String getCommunicationOperator() {

        return communicationOperator;
    }

    public void setCommunicationOperator(String communicationOperator) {

        this.communicationOperator = communicationOperator;
    }

    public String getCommunicationProtocolVersion() {

        return communicationProtocolVersion;
    }

    public void setCommunicationProtocolVersion(String communicationProtocolVersion) {

        this.communicationProtocolVersion = communicationProtocolVersion;
    }

    public Integer getGunNumber() {

        return gunNumber;
    }

    public void setGunNumber(Integer gunNumber) {

        this.gunNumber = gunNumber;
    }

    public String getNetworkLinkType() {

        return networkLinkType;
    }

    public void setNetworkLinkType(String networkLinkType) {

        this.networkLinkType = networkLinkType;
    }

    public String getProgramVersion() {

        return programVersion;
    }

    public void setProgramVersion(String programVersion) {

        this.programVersion = programVersion;
    }

    public Integer getType() {

        return type;
    }

    public void setType(Integer type) {

        this.type = type;
    }

    public String getSerialNumber() {

        return serialNumber;
    }

    public void setSerialNumber(String serialNumber) {

        this.serialNumber = serialNumber;
    }

    public Double getMinElectricCurrent() {

        return minElectricCurrent;
    }

    public void setMinElectricCurrent(Double minElectricCurrent) {

        this.minElectricCurrent = minElectricCurrent;
    }

    public Double getMaxElectricCurrent() {

        return maxElectricCurrent;
    }

    public void setMaxElectricCurrent(Double maxElectricCurrent) {

        this.maxElectricCurrent = maxElectricCurrent;
    }

    public Double getMinVoltage() {

        return minVoltage;
    }

    public void setMinVoltage(Double minVoltage) {

        this.minVoltage = minVoltage;
    }

    public Double getMaxVoltage() {

        return maxVoltage;
    }

    public void setMaxVoltage(Double maxVoltage) {

        this.maxVoltage = maxVoltage;
    }

    public Double getInputVoltage() {

        return inputVoltage;
    }

    public void setInputVoltage(Double inputVoltage) {

        this.inputVoltage = inputVoltage;
    }

    public Double getAuxiliaryPowerSupply() {

        return auxiliaryPowerSupply;
    }

    public void setAuxiliaryPowerSupply(Double auxiliaryPowerSupply) {

        this.auxiliaryPowerSupply = auxiliaryPowerSupply;
    }

    public Double getPower() {

        return power;
    }

    public void setPower(Double power) {

        this.power = power;
    }

    public String getNationalStandard() {

        return nationalStandard;
    }

    public void setNationalStandard(String nationalStandard) {

        this.nationalStandard = nationalStandard;
    }

    public String getName() {

        return name;
    }

    public void setName(String name) {

        this.name = name;
    }

    public Long getChargingStationId() {

        return chargingStationId;
    }

    public void setChargingStationId(Long chargingStationId) {

        this.chargingStationId = chargingStationId;
    }

    public Long getId() {

        return id;
    }

    public void setId(Long id) {

        this.id = id;
    }

    public String getEquipmentProductCode() {
        return equipmentProductCode;
    }

    public void setEquipmentProductCode(String equipmentProductCode) {
        this.equipmentProductCode = equipmentProductCode;
    }

    public String getTransformerID() {
        return transformerID;
    }

    public void setTransformerID(String transformerID) {
        this.transformerID = transformerID;
    }

    public Integer getNewNationalStandard() {
        return newNationalStandard;
    }

    public void setNewNationalStandard(Integer newNationalStandard) {
        this.newNationalStandard = newNationalStandard;
    }

    public Integer getVinFlag() {
        return vinFlag;
    }

    public void setVinFlag(Integer vinFlag) {
        this.vinFlag = vinFlag;
    }

    public Integer getEquipmentStatus() {
        return equipmentStatus;
    }

    public void setEquipmentStatus(Integer equipmentStatus) {
        this.equipmentStatus = equipmentStatus;
    }

    public Integer getEquipmentPurpose() {
        return equipmentPurpose;
    }

    public void setEquipmentPurpose(Integer equipmentPurpose) {
        this.equipmentPurpose = equipmentPurpose;
    }

    public String getManufacturerId() {
        return manufacturerId;
    }

    public void setManufacturerId(String manufacturerId) {
        this.manufacturerId = manufacturerId;
    }

    @Override
    public String getSearchValue() {
        return searchValue;
    }

    @Override
    public void setSearchValue(String searchValue) {
        this.searchValue = searchValue;
    }

    public String getConstructionTime() {
        return constructionTime;
    }

    public void setConstructionTime(String constructionTime) {
        this.constructionTime = constructionTime;
    }

    public Integer getEquipmentClassificatlon() {
        return equipmentClassificatlon;
    }

    public void setEquipmentClassificatlon(Integer equipmentClassificatlon) {
        this.equipmentClassificatlon = equipmentClassificatlon;
    }

    public Integer getAuxPower() {
        return auxPower;
    }

    public void setAuxPower(Integer auxPower) {
        this.auxPower = auxPower;
    }

    @Override
    public String toString() {
        return "XhpcChargingPile{" +
                "id=" + id +
                ", chargingStationId=" + chargingStationId +
                ", name='" + name + '\'' +
                ", nationalStandard='" + nationalStandard + '\'' +
                ", power=" + power +
                ", auxiliaryPowerSupply=" + auxiliaryPowerSupply +
                ", inputVoltage=" + inputVoltage +
                ", maxVoltage=" + maxVoltage +
                ", minVoltage=" + minVoltage +
                ", maxElectricCurrent=" + maxElectricCurrent +
                ", minElectricCurrent=" + minElectricCurrent +
                ", serialNumber='" + serialNumber + '\'' +
                ", type=" + type +
                ", programVersion='" + programVersion + '\'' +
                ", networkLinkType='" + networkLinkType + '\'' +
                ", gunNumber=" + gunNumber +
                ", communicationProtocolVersion='" + communicationProtocolVersion + '\'' +
                ", communicationOperator='" + communicationOperator + '\'' +
                ", simCard='" + simCard + '\'' +
                ", status=" + status +
                ", delFlag=" + delFlag +
                ", rateModelId=" + rateModelId +
                ", brandModel='" + brandModel + '\'' +
                ", productionDate='" + productionDate + '\'' +
                ", manufactureName='" + manufactureName + '\'' +
                ", connectorType=" + connectorType +
                ", equipmentType=" + equipmentType +
                ", current=" + current +
                ", searchValue='" + searchValue + '\'' +
                ", equipmentProductCode='" + equipmentProductCode + '\'' +
                ", transformerID='" + transformerID + '\'' +
                ", newNationalStandard=" + newNationalStandard +
                ", vinFlag=" + vinFlag +
                ", equipmentStatus=" + equipmentStatus +
                ", equipmentPurpose=" + equipmentPurpose +
                ", manufacturerId='" + manufacturerId + '\'' +
                ", equipmentClassificatlon='" + equipmentClassificatlon + '\'' +
                ", constructionTime='" + constructionTime + '\'' +
                '}';
    }
}
