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;

    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;
    }

}
