package com.zsElectric.boot.charging.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.zsElectric.boot.common.base.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * 第三方充电接口信息实体
 *
 * @author system
 * @since 2025-12-11
 */
@TableName("third_party_connector_info")
@Getter
@Setter
public class ThirdPartyConnectorInfo extends BaseEntity {

    /**
     * 接口编码
     */
    private String connectorId;

    /**
     * 所属设备编码
     */
    private String equipmentId;

    /**
     * 所属充电站ID
     */
    private String stationId;

    /**
     * 接口名称
     */
    private String connectorName;

    /**
     * 接口类型
     */
    private Integer connectorType;

    /**
     * 额定电压上限(V)
     */
    private Integer voltageUpperLimits;

    /**
     * 额定电压下限(V)
     */
    private Integer voltageLowerLimits;

    /**
     * 额定电流(A)
     */
    private Integer current;

    /**
     * 额定功率(kW)
     */
    private BigDecimal power;

    /**
     * 车位号
     */
    private String parkNo;

    /**
     * 国家标准
     */
    private Integer nationalStandard;

    /**
     * 创建人ID
     */
    @TableField(fill = FieldFill.INSERT)
    private Long createBy;

    /**
     * 更新人ID
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateBy;

    /**
     * 逻辑删除标识
     */
    @TableLogic
    private Integer isDeleted;
}
