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

import com.baomidou.mybatisplus.annotation.TableName;
import com.thinkunion.park.service.common.entity.BasicEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @ClassName ParkingPlaceBinding
 * @Description 停车位绑定信息表
 * @Author 张逸飞
 * @Date 2023年1月31日
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "停车位绑定信息表", description = "停车位绑定信息表")
@TableName("parking_place_binding")
public class ParkingPlaceBinding extends BasicEntity {

    /**
     * 停车场ID
     */
    @ApiModelProperty(name = "parkingId", value = "停车场ID")
    private Long parkingId;

    /**
     * 车位信息ID
     */
    @ApiModelProperty(name = "placeId", value = "车位信息ID")
    private Long placeId;

    /**
     * 车辆信息ID
     */
    @ApiModelProperty(name = "carId", value = "车辆信息ID")
    private Long carId;
    /**
     * 车位使用类型(0月卡车位 1错时车位 2AB车位 3动态车位 4产权车)
     */
    @ApiModelProperty(name = "placeUsedType", value = "车位使用类型(0月卡车位 1错时车位 2AB车位 3动态车位 4产权车)")
    private String placeUsedType;

    /**
     * 备注
     */
    @ApiModelProperty(name = "remark", value = "备注")
    private String remark;
}
