package com.yuchen.saas.parking.api.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.nest.springwrap.core.tenant.mp.TenantEntity;

/**
 * <p>
 * 停车绑定电站收费设置
 * </p>
 *
 * @author cxj
 * @since 2023-08-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("pmg_bat_parking_station_rule")
@ApiModel(value="PmgBatParkingStationRule对象", description="停车绑定电站收费设置")
public class PmgBatParkingStationRule extends TenantEntity {

    /**
     * 充电站id
     */
    @ApiModelProperty(name = "stationId", value = "充电站id")
    private Long stationId;
    /**
     * 停车场id
     */
    @ApiModelProperty(name = "parkingId", value = "停车场id")
    private Long parkingId;
    /**
     * 联系人
     */
    @ApiModelProperty(name = "contactName", value = "联系人")
    private String contactName;
    /**
     * 联系电话
     */
    @ApiModelProperty(name = "phone", value = "联系电话")
    private String phone;
    /**
     * 备注
     */
    @ApiModelProperty(name = "remark", value = "备注")
    private String remark;
    /**
     * 规则类型(1:停车收费，2:停车免费，3:充电期间免费，4:限时充电免费，5:充电时长限免)
     */
    @ApiModelProperty(name = "ruleType", value = "规则类型(1:停车收费，2:停车免费(去掉)，3:充电期间免费，4:限时充电免费，5:充电时长限免)")
    private Integer ruleType;
    /**
     * 启用状态（0：未启用、1：已启用）
     */
    @ApiModelProperty(name = "enableState", value = "启用状态（0：未启用、1：已启用）")
    private Integer enableState;

    /**
     * 电站来源(1:系统 2:第三方)
     */
    @ApiModelProperty(name = "stationFrom", value = "电站来源(1:系统 2:第三方)")
    private Integer stationFrom;
    /**
     * 充电站黑名单车设置(1:放行 2:不放行)
     */
    @ApiModelProperty(name = "blackListPass", value = "充电站黑名单车设置(1:放行 2:不放行)")
    private Integer blackListPass;

}
