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;

/**
 * 车辆与群组关联关系表
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "团队车与车辆中间关系表", description = "团队车与车辆中间关系表")
@TableName("parking_team_vehicle_mapping")
public class ParkingTeamVehicleMapping extends TenantEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(name = "teamId", value = "团队车ID")
    private Long teamId;

    @ApiModelProperty(name = "carId", value = "车id")
    private Long carId;

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