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

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @Author yuanzhelin
 * @Date 2024/9/18 10:48
 * @Description TODO
 */
@Data
public class PmgBatCarRulePageVo {
    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Long id;
    /**
     * 车辆类型
     */
    @ApiModelProperty(value = "车辆类型")
    private Integer carType;
    /**
     * 规则名称
     */
    @ApiModelProperty(value = "规则名称")
    private String ruleName;
    /**
     * 规则id
     */
    @ApiModelProperty(value = "规则id")
    private Long ruleId;
    @ApiModelProperty(value = "生效开始时间")
    @TableField(value = "begin_time", fill = FieldFill.INSERT)
    private LocalDateTime beginTime;

    @ApiModelProperty(value = "生效结束时间")
    @TableField(value = "end_time", fill = FieldFill.INSERT)
    private LocalDateTime endTime;
    /**
     * 是否默认
     */
    @ApiModelProperty(name = "isDefault", value = "是否默认")
    private Integer isDefault;
    /**
     * 停车场id
     */
    @ApiModelProperty(value = "停车场id")
    private Long parkingId;
    @ApiModelProperty(name = "rate", value = "0总时长  1按次数  2停车时段  3单位时长  4日夜组合")
    private Long rate;
    /**
     * 免费停车时长
     */
    @ApiModelProperty(name = "freeTime", value = "免费停车时长")
    private Long freeTime;
}
