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;

import java.util.Date;

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

    /**
     * 停车绑定电站收费id
     */
    @ApiModelProperty(name = "parkingStationRuleId", value = "停车绑定电站收费id")
    private Long parkingStationRuleId;
    /**
     * 免费开始时间(限时充电免费使用)
     */
    @ApiModelProperty(name = "startTime", value = "免费开始时间(限时充电免费使用)")
    private String startTime;
    /**
     * 免费结束时间(限时充电免费使用)
     */
    @ApiModelProperty(name = "endTime", value = "免费结束时间(限时充电免费使用)")
    private String endTime;
    /**
     * 充电时长大于等于(分钟)(充电时长限免使用)
     */
    @ApiModelProperty(name = "chargingTime", value = "充电时长大于等于(分钟)(充电时长限免使用)")
    private Long chargingTime;
    /**
     * 可免费停车时长(分钟)充电时长限免使用)
     */
    @ApiModelProperty(name = "feeTime", value = "可免费停车时长(分钟)充电时长限免使用)")
    private Long feeTime;

    @ApiModelProperty(name = "chargingTime", value = "充电时长大于等于类型:1分钟,2小时")
    private Integer chargingTimeType;
    /**
     * 可免费停车时长(分钟)充电时长限免使用)
     */
    @ApiModelProperty(name = "feeTime", value = "可免费停车时长类型:1分钟,2小时")
    private Integer feeTimeType;



}
